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 --- plugins/placement/history.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/placement/history.c') diff --git a/plugins/placement/history.c b/plugins/placement/history.c index 22dbb6e0..eeff1f63 100644 --- a/plugins/placement/history.c +++ b/plugins/placement/history.c @@ -58,7 +58,7 @@ gboolean place_history(ObClient *c) if (hi && !(hi->flags & PLACED)) { hi->flags |= PLACED; - if (ob_state != OB_STATE_STARTING) { + if (ob_state() != OB_STATE_STARTING) { if (hi->flags & HAVE_POSITION || hi->flags & HAVE_SIZE) { if (hi->flags & HAVE_POSITION) { -- cgit v1.2.3