okay so that's why it didn't use move_onscreen

This commit is contained in:
Mikael Magnusson 2005-02-06 01:16:00 +00:00
parent ef042d220b
commit 60565bcba8

View file

@ -344,14 +344,18 @@ void client_manage(Window window)
place_client(self, &x, &y); place_client(self, &x, &y);
/* make sure the window is visible.
this is about the rude parameter: /* make sure the window is visible. */
non-normal clients has less rules, and client_find_onscreen(self, &x, &y,
windows that are being restored from a session self->frame->area.width,
do also. we can assume you want it back where self->frame->area.height,
you saved it */ /* non-normal clients has less rules, and
client_move_onscreen(self, client_normal(self) && !self->session); 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);
} }
keyboard_grab_for_client(self, TRUE); keyboard_grab_for_client(self, TRUE);