summaryrefslogtreecommitdiff
path: root/client.h
diff options
context:
space:
mode:
authorLeonardo Hernández Hernández <leohdz172@proton.me>2023-12-10 23:44:33 -0600
committerLeonardo Hernández Hernández <leohdz172@proton.me>2023-12-10 23:46:49 -0600
commit49bfe927030b4747deded43656b4fe417c157123 (patch)
treeb8042ec2dbe377cf79ce3e64b76f6e9f2367cd85 /client.h
parentc88960751d7e422ad7eca1672c00ee09515e5095 (diff)
merge X11Managed and X11Unmanaged into X11
now that client_is_unmanaged() checks the wlr struct we don't need to keep track of it ourselves
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;
}