mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-02-20 01:40:44 -05:00
rootston: add support for wlr_input_timestamps_v1
This commit is contained in:
parent
ab3a760874
commit
dcb38e7f1c
7 changed files with 49 additions and 25 deletions
|
|
@ -93,7 +93,7 @@ static void update_cursors(struct roots_layer_surface *roots_surface,
|
|||
struct timespec time;
|
||||
if (clock_gettime(CLOCK_MONOTONIC, &time) == 0) {
|
||||
roots_cursor_update_position(seat->cursor,
|
||||
time.tv_sec * 1000 + time.tv_nsec / 1000000);
|
||||
time.tv_sec * 1000 + time.tv_nsec / 1000000, time.tv_nsec);
|
||||
} else {
|
||||
wlr_log(WLR_ERROR, "Failed to get time, not updating"
|
||||
"position. Errno: %s\n", strerror(errno));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue