summaryrefslogtreecommitdiff
path: root/openbox
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-05-22 17:46:56 +0000
committerDana Jansens <danakj@orodu.net>2007-05-22 17:46:56 +0000
commitd0c1a24be990360e793b0e488cb7285bb024b32e (patch)
treeffd5b3ad13351eb7d610f2c83949c3bfd923079c /openbox
parent0ec56cdb94c14fe4711c8365d1eb153a71a8604b (diff)
fix frame positionings more
Diffstat (limited to 'openbox')
-rw-r--r--openbox/frame.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/openbox/frame.c b/openbox/frame.c
index a3e6fb57..d5d9b122 100644
--- a/openbox/frame.c
+++ b/openbox/frame.c
@@ -446,12 +446,14 @@ void frame_adjust_area(ObFrame *self, gboolean moved,
self->width - ob_rr_theme->grip_width *2,
ob_rr_theme->paddingy + 1);
- XMoveWindow(ob_display, self->tltresize, 0, 0);
- XMoveWindow(ob_display, self->tllresize, 0, 0);
+ XMoveWindow(ob_display, self->tltresize, self->bwidth, 0);
+ XMoveWindow(ob_display, self->tllresize, self->bwidth, 0);
XMoveWindow(ob_display, self->trtresize,
- self->width - ob_rr_theme->grip_width, 0);
+ self->bwidth + self->width -
+ ob_rr_theme->grip_width, 0);
XMoveWindow(ob_display, self->trrresize,
- self->width - ob_rr_theme->paddingx - 1, 0);
+ self->bwidth + self->width -
+ ob_rr_theme->paddingx - 1, 0);
XMapWindow(ob_display, self->topresize);
XMapWindow(ob_display, self->tltresize);