opt: cleanup layer scene node when cleanupmon

This commit is contained in:
DreamMaoMao 2026-02-27 16:17:04 +08:00
parent c2ed0a48d8
commit 4ed671d30a
3 changed files with 26 additions and 3 deletions

View file

@ -521,7 +521,7 @@ void client_animation_next_tick(Client *c) {
void init_fadeout_client(Client *c) {
if (!c->mon || client_is_unmanaged(c))
if (!c->mon || client_is_unmanaged(c) || c->mon->iscleanuping)
return;
if (!c->scene) {