Skip to content

evdev-fallback: Use input_event_init for fallback

A. Wilcox requested to merge awilfox/libinput:time64 into master

Old-style field initialisation ignores the 64-bit time_t change in Linux UAPI, which causes the structure to be incompletely initialised on 32-bit systems with the 64-bit time_t kernel headers.

This patch uses the input_event_init helper from the original 64-bit time_t enablement patch.

Fixes: 5dc1a7eb ("Adjust for 64bit time_t for 32bit architectures") (!346 (merged))

Edited by A. Wilcox

Merge request reports