mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-10-31 22:25:29 -04:00
fix: The tag animation ends with redundant afterimages on other displays
This commit is contained in:
parent
63a34dd15a
commit
ff9c163018
1 changed files with 1 additions and 1 deletions
|
|
@ -1160,7 +1160,7 @@ struct uvec2 clip_to_hide(Client *c, struct wlr_box *clip_box) {
|
|||
offset.x = offsetx;
|
||||
offset.y = offsety;
|
||||
|
||||
if ((clip_box->width <= 0 || clip_box->height <= 0) && ISTILED(c)) {
|
||||
if ((clip_box->width <= 0 || clip_box->height <= 0) && (ISTILED(c) || c->animation.tagouting || c->animation.tagining)) {
|
||||
c->is_clip_to_hide = true;
|
||||
wlr_scene_node_set_enabled(&c->scene->node, false);
|
||||
} else if (c->is_clip_to_hide && VISIBLEON(c, c->mon)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue