]> Dogcows Code - chaz/openbox/blobdiff - openbox/frame.c
have stacking_restack_request return a bool that says if it did something with TopIf...
[chaz/openbox] / openbox / frame.c
index a8391e48319ddde9c8d6cf0c35bb25c670b3cb61..fef8b833dae752aa73b8081bf28187f94e8ef57e 100644 (file)
@@ -764,6 +764,13 @@ void frame_adjust_area(ObFrame *self, gboolean moved,
                               self->area.width,
                               self->area.height);
 
+        /* when the client has StaticGravity, it likes to move around.
+           also this correctly positions the client when it maps.
+           this also needs to be run when the frame's decorations sizes change!
+        */
+        XMoveWindow(ob_display, self->client->window,
+                    self->size.left, self->size.top);
+
         if (resized) {
             framerender_frame(self);
             frame_adjust_shape(self);
This page took 0.019857 seconds and 4 git commands to generate.