From: Mikael Magnusson Date: Tue, 10 Jan 2012 01:20:05 +0000 (+0100) Subject: dunno why this was lying around as an uncommitted change.. X-Git-Url: http://git.openbox.org/?p=mikachu%2Fopenbox.git;a=commitdiff_plain;h=428e0385b20e23d18d86d32d09e050c7e7b7c78c dunno why this was lying around as an uncommitted change.. --- diff --git a/obrender/theme.c b/obrender/theme.c index efec183..b168321 100644 --- a/obrender/theme.c +++ b/obrender/theme.c @@ -1561,7 +1561,7 @@ RrTheme* RrThemeNew(const RrInstance *inst, const gchar *name, RrMargins(theme->a_focused_label, &fl, &ft, &fr, &fb); RrMargins(theme->a_unfocused_label, &ul, &ut, &ur, &ub); - theme->label_height = theme->win_font_height + MAX(ft + fb, ut + ub); + theme->label_height = theme->win_font_height + MAX(ft + fb, ut + ub) + 1; /* this would be nice I think, since padding.width can now be 0, but it breaks frame.c horribly and I don't feel like fixing that