commit 25db04539216fa6bf05ad39cdeeeca6df6b69e60
parent 78cf88670f3410782f5c90895c3c4586d3485a67
Author: Leonardo Hernández Hernández <leohdz172@proton.me>
Date: Tue, 25 Jul 2023 19:45:18 -0600
set withdrawn state for xwayland invisible clients
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/client.h b/client.h
@@ -350,8 +350,10 @@ static inline void
client_set_suspended(Client *c, int suspended)
{
#ifdef XWAYLAND
- if (client_is_x11(c))
+ if (client_is_x11(c)) {
+ wlr_xwayland_surface_set_withdrawn(c->surface.xwayland, suspended);
return;
+ }
#endif
wlr_xdg_toplevel_set_suspended(c->surface.xdg->toplevel, suspended);