- /* do this in two steps because clients whose gravity is set to
- 'Static' don't end up getting moved at all with an XMoveResizeWindow */
- XMoveWindow(ob_display, self->frame.plate,
- self->innersize.left - self->cbwidth,
- self->innersize.top - self->cbwidth);
- XResizeWindow(ob_display, self->frame.plate,
- self->frame.client->area.width,
- self->frame.client->area.height);
+ /* move and resize the plate */
+ XMoveResizeWindow(ob_display, self->frame.plate,
+ self->innersize.left - self->cbwidth,
+ self->innersize.top - self->cbwidth,
+ self->frame.client->area.width,
+ self->frame.client->area.height);
+ /* when the client has StaticGravity, it likes to move around. */
+ XMoveWindow(ob_display, self->frame.client->window, 0, 0);