dunno why this was lying around as an uncommitted change..
authorMikael Magnusson <mikachu@gmail.com>
Tue, 10 Jan 2012 01:20:05 +0000 (02:20 +0100)
committerMikael Magnusson <mikachu@gmail.com>
Sat, 11 Oct 2014 00:17:20 +0000 (02:17 +0200)
obrender/theme.c

index efec183..b168321 100644 (file)
@@ -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