summaryrefslogtreecommitdiff
path: root/client.h
diff options
context:
space:
mode:
Diffstat (limited to 'client.h')
-rw-r--r--client.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/client.h b/client.h
index 68e7534..dded687 100644
--- a/client.h
+++ b/client.h
@@ -10,7 +10,7 @@ static inline int
client_is_x11(Client *c)
{
#ifdef XWAYLAND
- return c->type == X11Managed || c->type == X11Unmanaged;
+ return c->type == X11;
#endif
return 0;
}