diff options
author | Duna Oh <duna.oh@samsung.com> | 2015-11-30 11:05:07 -0500 |
---|---|---|
committer | Chris Michael <cp.michael@samsung.com> | 2015-11-30 11:05:07 -0500 |
commit | 21b1a3f221fb6bd477cfefbb9d0099717c13523d (patch) | |
tree | 9bc2572aff4d8d472393c50895a51480a03f6e61 /src/lib/ecore_drm/ecore_drm_private.h | |
parent | 527ac119f1de21034e761b24923b0cb06d946649 (diff) |
ecore-drm: Add logical pointer x, y variable in seat for reflecting multiple pointer's movement
Summary: When one pointer moves, we should update the position of other devices.
Test Plan:
(1) Two pointer devices are connected.
(2) Move the cursor to (x, y) position using "device 1".
(3) When you move the cursor using "device 2", the cursor doesn't start from (x, y) position. This causes discontinuous mouse motion.
Reviewers: raster, zmike, gwanglim, stefan_schmidt, devilhorns, ManMower
Reviewed By: devilhorns, ManMower
Subscribers: cedric, Jeon, input.hacker, jpeg
Differential Revision: https://phab.enlightenment.org/D3384
Diffstat (limited to '')
-rw-r--r-- | src/lib/ecore_drm/ecore_drm_private.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/ecore_drm/ecore_drm_private.h b/src/lib/ecore_drm/ecore_drm_private.h index 0153fb37c9..aa97a2025f 100644 --- a/src/lib/ecore_drm/ecore_drm_private.h +++ b/src/lib/ecore_drm/ecore_drm_private.h | |||
@@ -153,6 +153,11 @@ struct _Ecore_Drm_Seat | |||
153 | const char *name; | 153 | const char *name; |
154 | Ecore_Drm_Input *input; | 154 | Ecore_Drm_Input *input; |
155 | Eina_List *devices; | 155 | Eina_List *devices; |
156 | struct | ||
157 | { | ||
158 | int ix, iy; | ||
159 | double dx, dy; | ||
160 | } ptr; | ||
156 | }; | 161 | }; |
157 | 162 | ||
158 | struct _Ecore_Drm_Input | 163 | struct _Ecore_Drm_Input |