put text back to the left and add a bit more spacing
Dana Jansens danakj@orodu.net
1 files changed,
1 insertions(+),
2 deletions(-)
jump to
M
openbox/focus_cycle_popup.c
→
openbox/focus_cycle_popup.c
@@ -289,7 +289,7 @@ textw = w - l - r;
texth = RrMinHeight(p->a_text); /* find the height of the dialog */ - h = t + b + (icon_rows * ICON_SIZE) + (OUTSIDE_BORDER + texth); + h = t + b + (icon_rows * ICON_SIZE) + (OUTSIDE_BORDER*2 + texth); /* get the position of the text */ textx = l;@@ -429,7 +429,6 @@ }
} /* draw the text */ - p->a_text->texture[0].data.text.justify = RR_JUSTIFY_CENTER; p->a_text->texture[0].data.text.string = newtarget->text; p->a_text->surface.parentx = textx; p->a_text->surface.parenty = texty;