all repos — openbox @ ac72dafab4e3223fb522c0c17fd80f950d91a0c9

openbox fork - make it a bit more like ryudo

fix clients with static gravity
Dana Jansens danakj@orodu.net
commit

ac72dafab4e3223fb522c0c17fd80f950d91a0c9

parent

292cb8b42e763634728d7e25d6987fcb5cbeb1aa

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

jump to
M openbox/frame.copenbox/frame.c

@@ -716,10 +716,6 @@ XMoveResizeWindow(ob_display, self->backback,

self->size.left, self->size.top, self->client->area.width, self->client->area.height); - - /* when the client has StaticGravity, it likes to move around. */ - XMoveWindow(ob_display, self->client->window, - self->size.left, self->size.top); } }

@@ -733,6 +729,10 @@ 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;