summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2008-02-09 19:05:21 -0500
committerDana Jansens <danakj@orodu.net>2008-02-09 19:06:45 -0500
commitf86fa2b3b49b1e790e84bd041f3e91cb63f369a4 (patch)
tree88eb325700c8bdd3094b8a7c3a748c034b6176c4
parent969c2482ce054a9ca1caa40825d615dd496e1429 (diff)
make the text area in alttab list mode the same hight as the icon _with hilite_
-rw-r--r--openbox/focus_cycle_popup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbox/focus_cycle_popup.c b/openbox/focus_cycle_popup.c
index ceab3ca1..4d1dfaa3 100644
--- a/openbox/focus_cycle_popup.c
+++ b/openbox/focus_cycle_popup.c
@@ -364,7 +364,7 @@ static void popup_render(ObFocusCyclePopup *p, const ObClient *c)
/* get the text height */
texth = RrMinHeight(p->a_hilite_text);
if (p->mode == OB_FOCUS_CYCLE_POPUP_MODE_LIST)
- texth = MAX(MAX(texth, RrMinHeight(p->a_text)), ICON_SIZE);
+ texth = MAX(MAX(texth, RrMinHeight(p->a_text)), HILITE_SIZE);
else
texth += TEXT_BORDER * 2;
@@ -562,7 +562,7 @@ static void popup_render(ObFocusCyclePopup *p, const ObClient *c)
/* find the dimensions of the text box */
list_mode_textx = iconx + HILITE_SIZE + TEXT_BORDER;
- list_mode_texty = icony + HILITE_OFFSET;
+ list_mode_texty = icony;
/* position the icon */
XMoveResizeWindow(obt_display, target->iconwin,