diff --git a/src/animation/client.h b/src/animation/client.h index e94f872a..511835db 100644 --- a/src/animation/client.h +++ b/src/animation/client.h @@ -738,7 +738,6 @@ void client_animation_next_tick(Client *c) { if (c->animation.tagouting) { c->animation.tagouting = false; wlr_scene_node_set_enabled(&c->scene->node, false); - client_set_suspended(c, true); c->animation.tagouted = true; c->animation.current = c->geom; } diff --git a/src/animation/tag.h b/src/animation/tag.h index 18eef56a..9e086988 100644 --- a/src/animation/tag.h +++ b/src/animation/tag.h @@ -36,7 +36,6 @@ void set_arrange_visible(Monitor *m, Client *c, bool want_animation) { wlr_scene_node_set_enabled(&c->scene->node, true); wlr_scene_node_set_enabled(&c->scene_surface->node, true); } - client_set_suspended(c, false); if (!c->animation.tag_from_rule && want_animation && m->pertag->prevtag != 0 && m->pertag->curtag != 0 && @@ -90,6 +89,5 @@ void set_arrange_hidden(Monitor *m, Client *c, bool want_animation) { set_tagout_animation(m, c); } else { wlr_scene_node_set_enabled(&c->scene->node, false); - client_set_suspended(c, true); } } diff --git a/src/client/client.h b/src/client/client.h index 27e8ef33..8e291e9e 100644 --- a/src/client/client.h +++ b/src/client/client.h @@ -380,15 +380,6 @@ static inline void client_set_tiled(Client *c, uint32_t edges) { } } -static inline void client_set_suspended(Client *c, int32_t suspended) { -#ifdef XWAYLAND - if (client_is_x11(c)) - return; -#endif - - wlr_xdg_toplevel_set_suspended(c->surface.xdg->toplevel, suspended); -} - static inline int32_t client_should_ignore_focus(Client *c) { #ifdef XWAYLAND