From: Dana Jansens Date: Fri, 10 Oct 2003 06:00:27 +0000 (+0000) Subject: do client_raise after client_focus for new windows X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=e1eff99176b9e078eb1742e736214231edc31574;p=chaz%2Fopenbox do client_raise after client_focus for new windows --- diff --git a/openbox/client.c b/openbox/client.c index 257b480c..8dfd8e52 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -365,6 +365,10 @@ void client_manage(Window window) event_halt_focus_delay(); 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