mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-04-02 07:15:55 -04:00
fix: not need clip monitor scene in every animation frame
This commit is contained in:
parent
4ed671d30a
commit
9e3ac1ef5c
2 changed files with 1 additions and 4 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
|
|
@ -3047,6 +3047,7 @@ void createmon(struct wl_listener *listener, void *data) {
|
|||
add_workspace_by_tag(i, m);
|
||||
}
|
||||
|
||||
monitor_clip_scene_tree(m);
|
||||
printstatus();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue