all repos — openbox @ 8fff73fa7a85c5744955befaf28c754673924afe

openbox fork - make it a bit more like ryudo

seems to be better text placement than ever
Dana Jansens danakj@orodu.net
commit

8fff73fa7a85c5744955befaf28c754673924afe

parent

f2add3a5b0197388cab9ac6787995eb8312c96c6

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

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

@@ -96,7 +96,8 @@ {

XftColor c; /* accomidate for areas bigger/smaller than Xft thinks the font is tall */ - y += (t->font->xftfont->height + 1 - (t->font->height + h)) / 2; + y -= (2 * (t->font->xftfont->ascent + t->font->xftfont->descent) - + (t->font->height + h)) / 2; x += 3; /* XXX figure out X with justification */