mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-03-10 05:34:08 -04:00
move_all_deferred_cursor trigger in wlr_scene
cursor move before scanout
This commit is contained in:
parent
d9e2c84c49
commit
3a16ca8ace
1 changed files with 4 additions and 0 deletions
|
|
@ -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);
|
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:
|
// We only want to try direct scanout if:
|
||||||
// - There is only one entry in the render list
|
// - There is only one entry in the render list
|
||||||
// - There are no color transforms that need to be applied
|
// - There are no color transforms that need to be applied
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue