all repos — openbox @ 0901ddf8911cfaf0f0f3d3c4010809071be42855

openbox fork - make it a bit more like ryudo

keep a small space on the sides of windows between the edge and the text
Dana Jansens danakj@orodu.net
commit

0901ddf8911cfaf0f0f3d3c4010809071be42855

parent

549627402cd03b2120ff5c8314abfdd143218e3b

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

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

@@ -125,7 +125,9 @@

/* center vertically */ y = area->y + (area->height - RrFontHeight(t->font, t->shadow, t->offset)) / 2; - w = area->width; + /* the +2 and -4 leave a small blank edge on the sides */ + x += 2; + w = area->width - 4; h = area->height; text = g_string_new(t->string);