]> Dogcows Code - chaz/openbox/commitdiff
lets not change the stacking before we add the window to the stacking stack
authorMikael Magnusson <mikachu@comhem.se>
Sat, 19 Aug 2006 15:35:23 +0000 (15:35 +0000)
committerMikael Magnusson <mikachu@comhem.se>
Sat, 19 Aug 2006 15:35:23 +0000 (15:35 +0000)
openbox/client.c

index 21673535d06f3a505323d3bed5afc4d94593e846..060548bf7a4006c32122c0aa91d0a4d694ddf446 100644 (file)
@@ -322,6 +322,9 @@ void client_manage(Window window)
     /* get and set application level settings */
     settings = get_settings(self);
 
+    stacking_add(CLIENT_AS_WINDOW(self));
+    client_restore_session_stacking(self);
+
     if (settings) {
         /* Don't worry, we won't actually both shade and undecorate the
          * window when push comes to shove. */
@@ -364,9 +367,6 @@ void client_manage(Window window)
 
     }
 
-    stacking_add(CLIENT_AS_WINDOW(self));
-    client_restore_session_stacking(self);
-
     /* focus the new window? */
     if (ob_state() != OB_STATE_STARTING &&
         (config_focus_new || client_search_focus_parent(self)) ||
This page took 0.026165 seconds and 4 git commands to generate.