Merge branch 'main' into feat/focus-animation

This commit is contained in:
DreamMaoMao 2025-11-01 19:27:09 +08:00 committed by GitHub
commit 8420d3496a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 36 additions and 188 deletions

View file

@ -244,4 +244,14 @@ struct wlr_scene_tree *wlr_scene_tree_snapshot(struct wlr_scene_node *node,
wlr_scene_node_set_enabled(&snapshot->node, true);
return snapshot;
}
void request_fresh_all_monitors(void) {
Monitor *m = NULL;
wl_list_for_each(m, &mons, link) {
if (!m->wlr_output->enabled) {
continue;
}
wlr_output_schedule_frame(m->wlr_output);
}
}