summaryrefslogtreecommitdiff
path: root/openbox/frame.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbox/frame.c')
-rw-r--r--openbox/frame.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbox/frame.c b/openbox/frame.c
index 82e7f90b..5efc869a 100644
--- a/openbox/frame.c
+++ b/openbox/frame.c
@@ -349,7 +349,7 @@ void frame_grab_client(ObFrame *self, ObClient *client)
member set the root window, and one set to the client, but both get
handled and need to be ignored.
*/
- if (ob_state == OB_STATE_STARTING)
+ if (ob_state() == OB_STATE_STARTING)
client->ignore_unmaps += 2;
/* select the event mask on the client's parent (to receive config/map