check to make sure the window is on screen *after* positioning it
This commit is contained in:
parent
5cd0ed57ac
commit
6dd3ee7271
1 changed files with 2 additions and 2 deletions
|
@ -290,11 +290,11 @@ void client_manage(Window window)
|
||||||
|
|
||||||
screen_update_struts();
|
screen_update_struts();
|
||||||
|
|
||||||
|
dispatch_client(Event_Client_New, self, 0, 0);
|
||||||
|
|
||||||
/* make sure the window is visible */
|
/* make sure the window is visible */
|
||||||
client_move_onscreen(self);
|
client_move_onscreen(self);
|
||||||
|
|
||||||
dispatch_client(Event_Client_New, self, 0, 0);
|
|
||||||
|
|
||||||
client_showhide(self);
|
client_showhide(self);
|
||||||
|
|
||||||
if (activate) client_activate(self);
|
if (activate) client_activate(self);
|
||||||
|
|
Loading…
Reference in a new issue