fix ooffice (and all stupid windows that use static gravity)
Dana Jansens danakj@orodu.net
1 files changed,
4 insertions(+),
4 deletions(-)
jump to
M
openbox/frame.c
→
openbox/frame.c
@@ -741,10 +741,6 @@ self->client->area.height +
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;@@ -767,6 +763,10 @@ self->area.x,
self->area.y, 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);