all repos — openbox @ e8cd4c4d8dc0f4f2e973b38e9bbf5553e2388d20

openbox fork - make it a bit more like ryudo

fix ooffice (and all stupid windows that use static gravity)
Dana Jansens danakj@orodu.net
commit

e8cd4c4d8dc0f4f2e973b38e9bbf5553e2388d20

parent

a5e6d35e1258994fbadf7c96ef78c30a201a3f7e

1 files changed, 4 insertions(+), 4 deletions(-)

jump to
M openbox/frame.copenbox/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);