X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=render%2Ftheme.c;h=dd9c76536a3a6e05169879885016d11483038959;hb=d8919a9bf837da29c5ca4726c8ebc429127b955b;hp=d29b35af6ba658827c0f3530ac0332cd29036808;hpb=c0ddd76ac57f088cbb3647165b12b54982554577;p=chaz%2Fopenbox diff --git a/render/theme.c b/render/theme.c index d29b35af..dd9c7653 100644 --- a/render/theme.c +++ b/render/theme.c @@ -1191,6 +1191,7 @@ RrTheme* RrThemeNew(const RrInstance *inst, 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->label_height % 2; /* 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