projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0369732
)
make sure the alttab list-mode has at least 1 row
author
Dana Jansens
<danakj@orodu.net>
Tue, 5 Feb 2008 05:16:48 +0000
(
00:16
-0500)
committer
Dana Jansens
<danakj@orodu.net>
Tue, 5 Feb 2008 05:16:48 +0000
(
00:16
-0500)
openbox/focus_cycle_popup.c
patch
|
blob
|
history
diff --git
a/openbox/focus_cycle_popup.c
b/openbox/focus_cycle_popup.c
index e418d96fadb26c202e1bb65fc2c60c3b20823ac1..1d37ae9c0c3ee7c06b4562f0249feb8f9a2fe392 100644
(file)
--- a/
openbox/focus_cycle_popup.c
+++ b/
openbox/focus_cycle_popup.c
@@
-368,6
+368,8
@@
static void popup_render(ObFocusCyclePopup *p, const ObClient *c)
(4*screen_area->height/5) /* 80% of the screen */
/
MAX(HILITE_SIZE, texth)); /* height of each row */
+ /* but make sure there is always one */
+ icon_rows = MAX(icon_rows, 1);
}
/* get the text width */