mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-03-08 05:34:09 -04:00
opt: optimize animaiton frame fresh
This commit is contained in:
parent
3ed36a6ea6
commit
78f7cb40c7
3 changed files with 14 additions and 3 deletions
|
|
@ -848,7 +848,7 @@ void init_fadeout_client(Client *c) {
|
|||
wl_list_insert(&fadeout_clients, &fadeout_cient->fadeout_link);
|
||||
|
||||
// 请求刷新屏幕
|
||||
wlr_output_schedule_frame(c->mon->wlr_output);
|
||||
request_fresh_all_monitors();
|
||||
}
|
||||
|
||||
void client_commit(Client *c) {
|
||||
|
|
@ -879,7 +879,7 @@ void client_commit(Client *c) {
|
|||
}
|
||||
}
|
||||
// 请求刷新屏幕
|
||||
wlr_output_schedule_frame(c->mon->wlr_output);
|
||||
request_fresh_all_monitors();
|
||||
}
|
||||
|
||||
void client_set_pending_state(Client *c) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue