diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2011-08-03 15:07:23 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2011-08-22 15:56:52 +1000 |
commit | 3a077f246e9ac07a37c1b01c3d321e0f5ceb4153 (patch) | |
tree | 5fcbadd5265c9c3495b164e4140786a58164b8e7 /include/inpututils.h | |
parent | 4b376ddeb4f3c9d9d279ffd2946d88edd5af4cfc (diff) |
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>
Diffstat (limited to 'include/inpututils.h')
-rw-r--r-- | include/inpututils.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/inpututils.h b/include/inpututils.h index 92a754327..63e1a263a 100644 --- a/include/inpututils.h +++ b/include/inpututils.h @@ -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 |