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:
d81339c
)
put stuff in the right place in alttab list mode when there is only 1 window in it
author
Dana Jansens
<danakj@orodu.net>
Thu, 7 Feb 2008 14:10:01 +0000
(09:10 -0500)
committer
Dana Jansens
<danakj@orodu.net>
Thu, 7 Feb 2008 14:10:01 +0000
(09:10 -0500)
openbox/focus_cycle_popup.c
patch
|
blob
|
history
diff --git
a/openbox/focus_cycle_popup.c
b/openbox/focus_cycle_popup.c
index 5925feb3c5a491bdd70ab2c3a6c090a3dd812c6a..ceab3ca1b3cb6d20116816b5fd12838bcc77ec18 100644
(file)
--- a/
openbox/focus_cycle_popup.c
+++ b/
openbox/focus_cycle_popup.c
@@
-455,7
+455,7
@@
static void popup_render(ObFocusCyclePopup *p, const ObClient *c)
+ ob_rr_theme->down_arrow_mask->height + OUTSIDE_BORDER;
/* center the icons if there is less than one row */
- if (icon_rows == 1)
+ if (
p->mode == OB_FOCUS_CYCLE_POPUP_MODE_ICONS &&
icon_rows == 1)
icons_center_x = (w - p->n_targets * HILITE_SIZE) / 2;
else
icons_center_x = 0;