diff --git a/src/animation/client.h b/src/animation/client.h index bfd0a266..9d4878a3 100644 --- a/src/animation/client.h +++ b/src/animation/client.h @@ -313,8 +313,6 @@ void client_apply_clip(Client *c, float factor) { client_get_clip(c, &clip_box); // 获取相对于父级的初始剪切区域 - monitor_clip_scene_tree(c->mon); - apply_border(c); apply_shield(c); @@ -347,8 +345,6 @@ void client_apply_clip(Client *c, float factor) { clip_box.y = 0; } - monitor_clip_scene_tree(c->mon); - apply_border(c); apply_shield(c); diff --git a/src/mango.c b/src/mango.c index 23e78d72..bfb6b5a4 100644 --- a/src/mango.c +++ b/src/mango.c @@ -3047,6 +3047,7 @@ void createmon(struct wl_listener *listener, void *data) { add_workspace_by_tag(i, m); } + monitor_clip_scene_tree(m); printstatus(); }