mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-03-25 09:07:28 -04:00
fix: switch to mango session fail from other vt
This commit is contained in:
parent
7140070580
commit
6f13b96dc9
4 changed files with 13 additions and 20 deletions
|
|
@ -418,7 +418,8 @@ void init_fadeout_layers(LayerSurface *l) {
|
|||
wl_list_insert(&fadeout_layers, &fadeout_layer->fadeout_link);
|
||||
|
||||
// 请求刷新屏幕
|
||||
wlr_output_schedule_frame(l->mon->wlr_output);
|
||||
if (l->mon)
|
||||
wlr_output_schedule_frame(l->mon->wlr_output);
|
||||
}
|
||||
|
||||
void layer_set_pending_state(LayerSurface *l) {
|
||||
|
|
@ -501,7 +502,8 @@ void layer_commit(LayerSurface *l) {
|
|||
l->animation.should_animate = false;
|
||||
}
|
||||
// 请求刷新屏幕
|
||||
wlr_output_schedule_frame(l->mon->wlr_output);
|
||||
if (l->mon)
|
||||
wlr_output_schedule_frame(l->mon->wlr_output);
|
||||
}
|
||||
|
||||
bool layer_draw_frame(LayerSurface *l) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue