From: Dana Jansens Date: Thu, 31 May 2007 21:34:18 +0000 (+0000) Subject: merge r7186 from trunk X-Git-Tag: openbox-3_3_995-RELEASE~21 X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=bc3a4af012311edabdc2e0eb3cea2c5ba6309353;p=dana%2Fopenbox.git merge r7186 from trunk --- diff --git a/openbox/frame.c b/openbox/frame.c index 66668d0d..58a51d5a 100644 --- a/openbox/frame.c +++ b/openbox/frame.c @@ -741,10 +741,6 @@ void frame_adjust_area(ObFrame *self, gboolean moved, self->size.top + self->size.bottom)); if ((moved || resized) && !fake) { - /* when the client has StaticGravity, it likes to move around. */ - XMoveWindow(ob_display, self->client->window, - self->size.left, self->size.top); - /* find the new coordinates, done after setting the frame.size, for frame_client_gravity. */ self->area.x = self->client->area.x; @@ -768,6 +764,10 @@ void frame_adjust_area(ObFrame *self, gboolean moved, self->area.width, self->area.height); + /* when the client has StaticGravity, it likes to move around. */ + XMoveWindow(ob_display, self->client->window, + self->size.left, self->size.top); + if (resized) { framerender_frame(self); frame_adjust_shape(self);