summaryrefslogtreecommitdiff
path: root/openbox/dock.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbox/dock.c')
-rw-r--r--openbox/dock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbox/dock.c b/openbox/dock.c
index 5d110353..5f7585da 100644
--- a/openbox/dock.c
+++ b/openbox/dock.c
@@ -93,7 +93,7 @@ void dock_add(Window win, XWMHints *wmhints)
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)
app->ignore_unmaps += 2;
if (app->win != app->icon_win) {