summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerek Foreman <derekf@osg.samsung.com>2016-03-08 16:42:21 -0600
committerDerek Foreman <derekf@osg.samsung.com>2016-03-08 16:42:21 -0600
commit061f0eba0f9411b2cac88af9c314ecc7d2c94ea6 (patch)
tree2952601a5ee9e62ba85f62332402d1642ab15768
parenta02b05f580fb843a4e08a5fff4a23c356100ff3b (diff)
downloadefl-devs/derekf/ecore_drm2.tar.gz
ecore-drm2: Use doubles for stored pointer co-ordinatedevs/derekf/ecore_drm2
Libinput can give us tiny input motion. If we truncate to ints here we'll lose slow motion in the positive direction.
-rw-r--r--src/lib/ecore_drm2/ecore_drm2_private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ecore_drm2/ecore_drm2_private.h b/src/lib/ecore_drm2/ecore_drm2_private.h
index 47ce822319..456ec79981 100644
--- a/src/lib/ecore_drm2/ecore_drm2_private.h
+++ b/src/lib/ecore_drm2/ecore_drm2_private.h
@@ -183,7 +183,7 @@ struct _Ecore_Drm2_Output
typedef struct _Ecore_Drm2_Pointer
{
- int x, y;
+ double x, y;
int buttons;
unsigned int timestamp;