mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-03-28 07:58:47 -04:00
opt: close animation and actively apply to refresh
This commit is contained in:
parent
5e5c4d0316
commit
c6635d73a9
2 changed files with 6 additions and 0 deletions
|
|
@ -820,6 +820,9 @@ void init_fadeout_client(Client *c) {
|
|||
fadeout_cient->animation.duration / output_frame_duration_ms();
|
||||
wlr_scene_node_set_enabled(&fadeout_cient->scene->node, true);
|
||||
wl_list_insert(&fadeout_clients, &fadeout_cient->fadeout_link);
|
||||
|
||||
// 请求刷新屏幕
|
||||
wlr_output_schedule_frame(c->mon->wlr_output);
|
||||
}
|
||||
|
||||
void client_commit(Client *c) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue