opt: dont send suspend state to client

because some app like gnome not ready for this
This commit is contained in:
DreamMaoMao 2026-05-21 22:40:31 +08:00
parent 406a16033b
commit 72a7c96f98
3 changed files with 0 additions and 12 deletions

View file

@ -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