summaryrefslogtreecommitdiff
path: root/openbox/frame.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbox/frame.c')
-rw-r--r--openbox/frame.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/openbox/frame.c b/openbox/frame.c
index a8391e48..89358ac2 100644
--- a/openbox/frame.c
+++ b/openbox/frame.c
@@ -764,6 +764,11 @@ 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 */
+ XMoveWindow(ob_display, self->client->window,
+ self->size.left, self->size.top);
+
if (resized) {
framerender_frame(self);
frame_adjust_shape(self);