all repos — openbox @ 62240d2b0ffc75d2a87117e2e0e282674a965495

openbox fork - make it a bit more like ryudo

take the bevel width into account for the width available
Dana Jansens danakj@orodu.net
commit

62240d2b0ffc75d2a87117e2e0e282674a965495

parent

f90ee94d6b5bc1fa3b026050233e1b74269c2304

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M render/font.crender/font.c

@@ -115,7 +115,7 @@

/* center vertically */ y = area->y + (area->height - font_height(t->font, t->shadow, t->offset)) / 2; - w = area->width; + w = area->width - theme-bevel * 2; h = area->height; text = g_string_new(t->string);