diff options
author | Leonardo Hernández Hernández <leohdz172@proton.me> | 2024-03-31 21:41:12 -0600 |
---|---|---|
committer | Leonardo Hernández Hernández <leohdz172@proton.me> | 2024-03-31 21:41:12 -0600 |
commit | dd00d994ce4c53829d0b871622dc05e90a6f58c3 (patch) | |
tree | bdf4d3d44456bedb462c0f565a9f67146eee1e35 | |
parent | f7154d539d09b4aa5b92371c296d9aa7a045bac0 (diff) |
do not set withdrawn state for xwayland clients
Closes: https://codeberg.org/dwl/dwl/issues/573
-rw-r--r-- | client.h | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -379,10 +379,8 @@ static inline void client_set_suspended(Client *c, int suspended) { #ifdef XWAYLAND - if (client_is_x11(c)) { - wlr_xwayland_surface_set_withdrawn(c->surface.xwayland, suspended); + if (client_is_x11(c)) return; - } #endif wlr_xdg_toplevel_set_suspended(c->surface.xdg->toplevel, suspended); |