From 5a96dee7565a1bdbf3088b2eaac276a932742cf6 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 10 May 2007 16:23:41 +0000 Subject: [PATCH] let the pager popup grow vertically --- openbox/popup.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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; -- 2.44.0