summaryrefslogtreecommitdiff
path: root/src/lib/elput/elput_private.h
diff options
context:
space:
mode:
authorDerek Foreman <derekf@osg.samsung.com>2017-07-28 16:48:38 -0500
committerDerek Foreman <derekf@osg.samsung.com>2017-07-28 16:48:38 -0500
commit33439865de327c5bac1c9a531070514e63fe3a04 (patch)
treeec870c0a41c709f722443dbc0869a51e1be66c11 /src/lib/elput/elput_private.h
parent2b16fc4278adfdf471c5ea488c08daeb96400a9a (diff)
elput: Fix synthetic relative motion events based on abs events
libinput won't actually give us this info, and logs an error instead. We can't synthesize based on pointer position due to pointer warping. So we must track abs reports and use previous abs reports to synthesize rel events.
Diffstat (limited to '')
-rw-r--r--src/lib/elput/elput_private.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/elput/elput_private.h b/src/lib/elput/elput_private.h
index 709871c368..f5bc425182 100644
--- a/src/lib/elput/elput_private.h
+++ b/src/lib/elput/elput_private.h
@@ -231,6 +231,8 @@ struct _Elput_Device
231 231
232 uint32_t ow, oh; 232 uint32_t ow, oh;
233 233
234 double absx, absy;
235
234 const char *path; 236 const char *path;
235 const char *output_name; 237 const char *output_name;
236 struct libinput_device *device; 238 struct libinput_device *device;