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 807680a..a44a8cc 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;