opt: optimize layer animaiton frame count in multi monitor

This commit is contained in:
DreamMaoMao
2025-09-07 17:48:29 +08:00
parent cd3689d557
commit f712917159
4 changed files with 10 additions and 6 deletions

View File

@@ -684,7 +684,7 @@ static double find_animation_curve_at(double t, int type);
static void apply_opacity_to_rect_nodes(Client *c, struct wlr_scene_node *node,
double animation_passed);
static enum corner_location set_client_corner_location(Client *c);
static double output_frame_duration_ms();
static double all_output_frame_duration_ms();
static struct wlr_scene_tree *
wlr_scene_tree_snapshot(struct wlr_scene_node *node,
struct wlr_scene_tree *parent);