check to make sure the window is on screen *after* positioning it

This commit is contained in:
Dana Jansens 2003-06-24 19:19:06 +00:00
parent 5cd0ed57ac
commit 6dd3ee7271

View file

@ -290,11 +290,11 @@ void client_manage(Window window)
screen_update_struts();
dispatch_client(Event_Client_New, self, 0, 0);
/* make sure the window is visible */
client_move_onscreen(self);
dispatch_client(Event_Client_New, self, 0, 0);
client_showhide(self);
if (activate) client_activate(self);