diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-05-31 21:33:51 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-05-31 21:33:51 +0000 |
| commit | e8cd4c4d8dc0f4f2e973b38e9bbf5553e2388d20 (patch) | |
| tree | 4d28a453391961603c861a4f3a48be147704ee7f /openbox/frame.c | |
| parent | a5e6d35e1258994fbadf7c96ef78c30a201a3f7e (diff) | |
fix ooffice (and all stupid windows that use static gravity)
Diffstat (limited to 'openbox/frame.c')
| -rw-r--r-- | openbox/frame.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/openbox/frame.c b/openbox/frame.c index 473bdd07..0192943f 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); |
