80 cols
This commit is contained in:
parent
988c096389
commit
5941c924e8
1 changed files with 2 additions and 1 deletions
|
@ -167,7 +167,8 @@ void popup_show(Popup *self, gchar *text, ObClientIcon *icon)
|
||||||
textw = w - (l+r + iconw + ob_rr_theme->padding *
|
textw = w - (l+r + iconw + ob_rr_theme->padding *
|
||||||
(self->hasicon ? 3 : 2));
|
(self->hasicon ? 3 : 2));
|
||||||
} else
|
} else
|
||||||
w = l+r + textw + iconw + ob_rr_theme->padding * (self->hasicon ? 3 : 2);
|
w = l+r + textw + iconw + ob_rr_theme->padding *
|
||||||
|
(self->hasicon ? 3 : 2);
|
||||||
/* sanity checks to avoid crashes! */
|
/* sanity checks to avoid crashes! */
|
||||||
if (w < 1) w = 1;
|
if (w < 1) w = 1;
|
||||||
if (h < 1) h = 1;
|
if (h < 1) h = 1;
|
||||||
|
|
Loading…
Reference in a new issue