summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--client.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/client.h b/client.h
index 71c7d76..68e7534 100644
--- a/client.h
+++ b/client.h
@@ -270,7 +270,8 @@ static inline int
client_is_unmanaged(Client *c)
{
#ifdef XWAYLAND
- return c->type == X11Unmanaged;
+ if (client_is_x11(c))
+ return c->surface.xwayland->override_redirect;
#endif
return 0;
}