]> Dogcows Code - chaz/openbox/blobdiff - openbox/client.c
presses work when clicks dont on the frame around the titlebar..
[chaz/openbox] / openbox / client.c
index 6d32c407e99a7f724385df172b05d2cb2cfb51e8..c5d1daa67be3516e78f78b833eebb08425f5f356 100644 (file)
@@ -123,7 +123,10 @@ void client_manage_all()
     }
     XFree(children);
 
-    /* stack them as they were on startup! */
+    /* stack them as they were on startup!
+       why with stacking_lower? Why, because then windows who aren't in the
+       stacking list are on the top where you can see them instead of buried
+       at the bottom! */
     for (i = client_startup_stack_size; i > 0; --i) {
         Client *c;
 
@@ -131,6 +134,9 @@ void client_manage_all()
         c = g_hash_table_lookup(client_map, &w);
         if (c) stacking_lower(c);
     }
+    g_free(client_startup_stack_order);
+    client_startup_stack_order = NULL;
+    client_startup_stack_size = 0;
 }
 
 void client_manage(Window window)
This page took 0.021478 seconds and 4 git commands to generate.