summaryrefslogtreecommitdiff
path: root/openbox
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-05-20 00:02:55 +0000
committerDana Jansens <danakj@orodu.net>2007-05-20 00:02:55 +0000
commit6b038948cc9747e2a4a06f52136ccdcb19993340 (patch)
tree3a2d6ee3232dddf8d867103c46c1fa9a5a6ab19d /openbox
parentb596a52fad05018d44468b58b464580a32ba354a (diff)
put text back to the left and add a bit more spacing
Diffstat (limited to 'openbox')
-rw-r--r--openbox/focus_cycle_popup.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/openbox/focus_cycle_popup.c b/openbox/focus_cycle_popup.c
index a44a8cc6..bce7e5c8 100644
--- a/openbox/focus_cycle_popup.c
+++ b/openbox/focus_cycle_popup.c
@@ -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;