fix: only scroller layout support is_clip_to_hide

This commit is contained in:
DreamMaoMao 2025-03-25 13:00:42 +08:00
parent 73ebdb0fdd
commit 54109d3bf6

View file

@ -1595,7 +1595,8 @@ arrange(Monitor *m, bool want_animation) {
if (c->mon == m) {
if (VISIBLEON(c, m)) {
if(!c->is_clip_to_hide)
if(!c->is_clip_to_hide || strcmp(c->mon->pertag->ltidxs[c->mon->pertag->curtag]->name,
"scroller") != 0)
wlr_scene_node_set_enabled(&c->scene->node, true);
client_set_suspended(c, false);
if (!c->animation.from_rule && want_animation &&