aboutsummaryrefslogtreecommitdiff
path: root/client.h
diff options
context:
space:
mode:
authorRaghuram Subramani <raghus2247@gmail.com>2024-04-30 20:45:46 +0530
committerRaghuram Subramani <raghus2247@gmail.com>2024-04-30 20:45:46 +0530
commita92befd3a396478e6ff6ebdda43c735239ef76d9 (patch)
tree0a5323e01fa946f0fdd792b7659b6eacd7f7d6aa /client.h
parenta9911cb7a49489065c105b272a1162c1a04cacbd (diff)
parent577d8da6d17dad5f847795582ebf813f3c5c04a7 (diff)
Merge remote-tracking branch 'upstream/main'
Diffstat (limited to 'client.h')
-rw-r--r--client.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/client.h b/client.h
index fe9dffc..800b867 100644
--- a/client.h
+++ b/client.h
@@ -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);