summaryrefslogtreecommitdiff
path: root/openbox
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-05-19 23:56:51 +0000
committerDana Jansens <danakj@orodu.net>2007-05-19 23:56:51 +0000
commitb596a52fad05018d44468b58b464580a32ba354a (patch)
tree288815d092cb9a0b446b3b89f9fe5b69f05360d7 /openbox
parent05d93485b731d304034f6749693ec6b74b210b3d (diff)
does the popup look better with centered text?
Diffstat (limited to 'openbox')
-rw-r--r--openbox/focus_cycle_popup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/openbox/focus_cycle_popup.c b/openbox/focus_cycle_popup.c
index 807680af..a44a8cc6 100644
--- a/openbox/focus_cycle_popup.c
+++ b/openbox/focus_cycle_popup.c
@@ -429,6 +429,7 @@ static void popup_render(ObFocusCyclePopup *p, const ObClient *c)
}
/* 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;