]> Dogcows Code - chaz/openbox/commitdiff
fix frame positionings more
authorDana Jansens <danakj@orodu.net>
Tue, 22 May 2007 17:46:56 +0000 (17:46 +0000)
committerDana Jansens <danakj@orodu.net>
Tue, 22 May 2007 17:46:56 +0000 (17:46 +0000)
openbox/frame.c

index a3e6fb57b6e16fcf0401982c77ccf9d4f71e298c..d5d9b1223a8a63198d114c2c8ba6e58c5816665d 100644 (file)
@@ -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);
This page took 0.022905 seconds and 4 git commands to generate.