X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fstacking.c;h=bab7b765e5a8efffe09af0c642e2bcb319698bd2;hb=bddbe9432837edccc67b76f2d29d4dbc9b02203f;hp=5b9b37b2958134e1a4d7dace6c466cc3206c1346;hpb=35418ca0fcd3fd28ef579f4435b8bad3b7c87f04;p=chaz%2Fopenbox diff --git a/openbox/stacking.c b/openbox/stacking.c index 5b9b37b2..bab7b765 100644 --- a/openbox/stacking.c +++ b/openbox/stacking.c @@ -18,7 +18,7 @@ void stacking_set_list() /* on shutdown, don't update the properties, so that we can read it back in on startup and re-stack the windows as they were before we shut down */ - if (ob_state == OB_STATE_EXITING) return; + if (ob_state() == OB_STATE_EXITING) return; /* create an array of the window ids (from bottom to top, reverse order!) */