]> Dogcows Code - chaz/openbox/commitdiff
does the popup look better with centered text?
authorDana Jansens <danakj@orodu.net>
Sat, 19 May 2007 23:56:51 +0000 (23:56 +0000)
committerDana Jansens <danakj@orodu.net>
Sat, 19 May 2007 23:56:51 +0000 (23:56 +0000)
openbox/focus_cycle_popup.c

index 807680af1f89962e8196c50bcdc7141041c8610d..a44a8cc646fbcb1df95f420d704b31ea316e07a1 100644 (file)
@@ -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;
This page took 0.024035 seconds and 4 git commands to generate.