summaryrefslogtreecommitdiff
path: root/include/eventstr.h
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2011-10-18 17:11:27 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2011-10-25 14:06:41 +1000
commit8473e441b0f832775153281bc3df5e2d4feb2b36 (patch)
tree7a5d8156ea9331517179154ec90c7c6c34f690df /include/eventstr.h
parente3f6a76dd480717eae4b17ad8e2ff707de2ffe4c (diff)
dix: add ScrollInfo to DeviceChangedEvents
3304bbff9b4ed63f1a47410a5320a136420ba2c6 added smooth scrolling support for pointer events and for XIQueryDevice but didn't add the matching parts to XIDeviceChangedEvents. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Daniel Stone <daniel@fooishbar.org>
Diffstat (limited to 'include/eventstr.h')
-rw-r--r--include/eventstr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/eventstr.h b/include/eventstr.h
index 2de077fd2..4d836fb14 100644
--- a/include/eventstr.h
+++ b/include/eventstr.h
@@ -153,6 +153,7 @@ struct _DeviceChangedEvent
uint32_t resolution; /**< Resolution counts/m */
uint8_t mode; /**< Relative or Absolute */
Atom name; /**< Axis name */
+ ScrollInfo scroll; /**< Smooth scrolling info */
} valuators[MAX_VALUATORS];
struct {