]> Dogcows Code - chaz/openbox/commitdiff
do client_raise after client_focus for new windows
authorDana Jansens <danakj@orodu.net>
Fri, 10 Oct 2003 06:00:27 +0000 (06:00 +0000)
committerDana Jansens <danakj@orodu.net>
Fri, 10 Oct 2003 06:00:27 +0000 (06:00 +0000)
openbox/client.c

index 257b480c1e539b2d8462238f541adb19ddfd56d5..8dfd8e52c2491c87459b12732e1679ddee37559e 100644 (file)
@@ -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
This page took 0.023893 seconds and 4 git commands to generate.