From: Dana Jansens Date: Thu, 10 May 2007 16:23:41 +0000 (+0000) Subject: let the pager popup grow vertically X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=5a96dee7565a1bdbf3088b2eaac276a932742cf6;p=chaz%2Fopenbox let the pager popup grow vertically --- diff --git a/openbox/popup.c b/openbox/popup.c index f341e092..5c96f073 100644 --- a/openbox/popup.c +++ b/openbox/popup.c @@ -169,11 +169,9 @@ void popup_delay_show(ObPopup *self, gulong usec, gchar *text) /* get the height, which is also used for the icon width */ emptyy = t + b + ob_rr_theme->paddingy * 2; - if (self->h) { - h = self->h; - texth = h - emptyy; - } else - h = texth * self->iconhm + emptyy; + if (self->h) + texth = self->h - emptyy; + h = texth * self->iconhm + emptyy; if (self->textw) textw = self->textw;