move_all_deferred_cursor trigger in wlr_scene

cursor move before scanout
This commit is contained in:
yuiiio 2024-08-16 16:20:53 +09:00
parent d9e2c84c49
commit 3a16ca8ace

View file

@ -2319,6 +2319,10 @@ bool wlr_scene_output_build_state(struct wlr_scene_output *scene_output,
wlr_output_state_set_damage(state, &scene_output->pending_commit_damage);
// before scanout early return,
// update cursor if deferred
wlr_output_cursor_move_all_deferred(output);
// We only want to try direct scanout if:
// - There is only one entry in the render list
// - There are no color transforms that need to be applied