X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;ds=sidebyside;f=openbox%2Ffocus_cycle_popup.c;h=4d1dfaa35a87533dd9ab3b6bf66c2efcb1d9f684;hb=f86fa2b3b49b1e790e84bd041f3e91cb63f369a4;hp=ceab3ca1b3cb6d20116816b5fd12838bcc77ec18;hpb=de85e4f1d96c911c7c9dc7c2a9b514b13b028aec;p=chaz%2Fopenbox 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,