mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-02-17 22:05:56 -05:00
backend, virtual_keyboard: set the time_nsec field of relevant events
Backends modified: libinput (with microsecond precision), X11 (with millisecond precision), RDP (with millisecond precision), and Wayland (with nanosecond precision if the host server supports the input-timestamps protocol, otherwise millisecond precision); and virtual-keyboard protocol (with millisecond precision).
This commit is contained in:
parent
79ed410be4
commit
e617da0378
9 changed files with 172 additions and 38 deletions
|
|
@ -39,6 +39,11 @@ struct wlr_wl_backend {
|
|||
struct wl_keyboard *keyboard;
|
||||
struct wlr_wl_pointer *current_pointer;
|
||||
char *seat_name;
|
||||
struct {
|
||||
struct zwp_input_timestamps_manager_v1 *manager;
|
||||
struct timespec keyboard;
|
||||
struct timespec pointer;
|
||||
} input_timestamps;
|
||||
};
|
||||
|
||||
struct wlr_wl_output {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue