X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fclient.c;h=c5d1daa67be3516e78f78b833eebb08425f5f356;hb=95ffd99cfab5ffc46d3b12f2c1c7c8ac73e70337;hp=6d32c407e99a7f724385df172b05d2cb2cfb51e8;hpb=e731042dc9f45555fbb1c52e2affaaf6ffeb141f;p=chaz%2Fopenbox diff --git a/openbox/client.c b/openbox/client.c index 6d32c407..c5d1daa6 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -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)