]> Dogcows Code - chaz/openbox/commitdiff
put text back to the left and add a bit more spacing
authorDana Jansens <danakj@orodu.net>
Sun, 20 May 2007 00:02:55 +0000 (00:02 +0000)
committerDana Jansens <danakj@orodu.net>
Sun, 20 May 2007 00:02:55 +0000 (00:02 +0000)
openbox/focus_cycle_popup.c

index a44a8cc646fbcb1df95f420d704b31ea316e07a1..bce7e5c87d7eec72f28be02fd7bed74ae53f749c 100644 (file)
@@ -289,7 +289,7 @@ static void popup_render(ObFocusCyclePopup *p, const ObClient *c)
     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 @@ 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.025454 seconds and 4 git commands to generate.