diff options
author | Leonardo Hernández Hernández <leohdz172@proton.me> | 2023-12-11 00:31:17 -0600 |
---|---|---|
committer | Leonardo Hernández Hernández <leohdz172@proton.me> | 2023-12-11 00:31:17 -0600 |
commit | 126a333354cc89ed9b635e3e30771ea15f71192e (patch) | |
tree | c0b95fa1cc129f52fe2ecb55aae6e8377e1b4ea6 /client.h | |
parent | 0de7d1aa719befb6ba291b3e2cad12253d6fa6a3 (diff) | |
parent | 9a84789ff1ba5cac059e536d57a849917ab360b6 (diff) |
Merge remote-tracking branch 'upstream/main' into wlroots-next
Fixes: https://codeberg.org/dwl/dwl/issues/432
Fixes: https://codeberg.org/dwl/dwl/issues/547
Diffstat (limited to 'client.h')
-rw-r--r-- | client.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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; } @@ -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; } |