summaryrefslogtreecommitdiff
path: root/src/core/stack.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/stack.c')
-rw-r--r--src/core/stack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/stack.c b/src/core/stack.c
index 8ca11cde..92a25809 100644
--- a/src/core/stack.c
+++ b/src/core/stack.c
@@ -1237,7 +1237,7 @@ get_default_focus_window (MetaStack *stack,
if (window == not_this_one)
continue;
- if (window->unmaps_pending > 0)
+ if (window->unmaps_pending != NULL)
continue;
if (window->unmanaging)