summaryrefslogtreecommitdiff
path: root/openbox/stacking.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-07-10 19:06:00 +0000
committerDana Jansens <danakj@orodu.net>2003-07-10 19:06:00 +0000
commitbddbe9432837edccc67b76f2d29d4dbc9b02203f (patch)
tree3c895659fe273a6562c4ffaff76d0b298ae27059 /openbox/stacking.c
parent35418ca0fcd3fd28ef579f4435b8bad3b7c87f04 (diff)
make ob_state a function so it cant be changed outside of openbox.c
Diffstat (limited to 'openbox/stacking.c')
-rw-r--r--openbox/stacking.c2
1 files changed, 1 insertions, 1 deletions
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!) */