make the text area in alttab list mode the same hight as the icon _with hilite_
This commit is contained in:
parent
969c2482ce
commit
f86fa2b3b4
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue