From bddbe9432837edccc67b76f2d29d4dbc9b02203f Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 10 Jul 2003 19:06:00 +0000 Subject: make ob_state a function so it cant be changed outside of openbox.c --- openbox/stacking.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openbox/stacking.c') 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!) */ -- cgit v1.2.3