do client_raise after client_focus for new windows

This commit is contained in:
Dana Jansens 2003-10-10 06:00:27 +00:00
parent 423d70b418
commit e1eff99176

View file

@ -365,6 +365,10 @@ void client_manage(Window window)
event_halt_focus_delay(); event_halt_focus_delay();
client_focus(self); client_focus(self);
/* since focus can change the stacking orders, if we focus the window
then the standard raise it gets is not enough, we need to queue one
for after the focus change takes place */
client_raise(self);
} }
/* client_activate does this but we aret using it so we have to do it /* client_activate does this but we aret using it so we have to do it