mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-27 21:22:26 +00:00
input: provide a single function to init DeviceEvents to 0
getevents.c already had that function, but XKB was manually initializing it, causing bugs when the event structure was updated in one place but not the other. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
4b376ddeb4
commit
3a077f246e
4 changed files with 21 additions and 21 deletions
|
|
@ -38,5 +38,6 @@ struct _ValuatorMask {
|
|||
};
|
||||
|
||||
extern void verify_internal_event(const InternalEvent *ev);
|
||||
extern void init_device_event(DeviceEvent *event, DeviceIntPtr dev, Time ms);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue