]> Dogcows Code - chaz/openbox/blobdiff - openbox/client.c
do client_raise after client_focus for new windows
[chaz/openbox] / 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.02114 seconds and 4 git commands to generate.