mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
refactor input time_sec to time_msec
This commit is contained in:
parent
57efc3417f
commit
a224e74fad
14 changed files with 53 additions and 54 deletions
|
|
@ -138,8 +138,8 @@ static void keyboard_key_notify(struct wl_listener *listener, void *data) {
|
|||
|
||||
if (!handled) {
|
||||
wlr_seat_set_keyboard(keyboard->input->wl_seat, keyboard->device);
|
||||
wlr_seat_keyboard_notify_key(keyboard->input->wl_seat,
|
||||
(uint32_t)(event->time_usec / 1000), event->keycode, event->state);
|
||||
wlr_seat_keyboard_notify_key(keyboard->input->wl_seat, event->time_msec,
|
||||
event->keycode, event->state);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue