diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-05-10 16:23:41 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-05-10 16:23:41 +0000 |
| commit | 5a96dee7565a1bdbf3088b2eaac276a932742cf6 (patch) | |
| tree | 43209ab1a375394d38e0457afeadd533dcd64606 | |
| parent | f969415426c0ae17ecb6c5d2d36802eaaa7bd893 (diff) | |
let the pager popup grow vertically
| -rw-r--r-- | openbox/popup.c | 8 |
1 files 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; |
