give clients being restored from a session a little more flexibility in lpacement so they will go back where they were when saved
This commit is contained in:
parent
850d84a9a8
commit
5592351585
1 changed files with 5 additions and 1 deletions
|
@ -346,7 +346,11 @@ void client_manage(Window window)
|
|||
client_find_onscreen(self, &x, &y,
|
||||
self->frame->area.width,
|
||||
self->frame->area.height,
|
||||
client_normal(self));
|
||||
/* non-normal clients has less rules, and
|
||||
windows that are being restored from a session
|
||||
do also. we can assume you want it back where
|
||||
you saved it */
|
||||
client_normal(self) && !self->session);
|
||||
|
||||
if (x != ox || y != oy)
|
||||
client_move(self, x, y);
|
||||
|
|
Loading…
Reference in a new issue