mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-16 08:21:40 -04:00
Set wlr_output_cursor.max_latency from wlr_cursor
I currently cannot find a better place to put this. Ideally this should only be set when output_cursor is created, or set_max_latency is called. But I had problems getting it working.
This commit is contained in:
parent
47f8cefad8
commit
ed2cd86cee
1 changed files with 1 additions and 0 deletions
|
|
@ -288,6 +288,7 @@ static void cursor_warp_unchecked(struct wlr_cursor *cur,
|
|||
|
||||
struct wlr_cursor_output_cursor *output_cursor;
|
||||
wl_list_for_each(output_cursor, &cur->state->output_cursors, link) {
|
||||
output_cursor->output_cursor->max_latency = cur->max_latency;
|
||||
output_cursor_move(output_cursor);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue