Use doubles to store libinput's mouse motion
authorDerek Foreman <derekf@osg.samsung.com>
Fri, 27 Feb 2015 15:40:38 +0000 (10:40 -0500)
committerChris Michael <cp.michael@samsung.com>
Fri, 27 Feb 2015 15:40:38 +0000 (10:40 -0500)
commit95cb1938c22664095675ca21649856371385f393
tree1f7ff18fbdff9e678c5dde69613b2455d68580ed
parent3bb11b938c7efef87a86638ea5427c174c7725ca
Use doubles to store libinput's mouse motion

Summary:
Using can result in motion being completely discarded.  Since we
only need integer data, we also only actually forward on an event
when the mouse moves more than a full unit.

Reviewers: zmike, devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2062
src/lib/ecore_drm/ecore_drm_evdev.c
src/lib/ecore_drm/ecore_drm_private.h