aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/ecore_wl2/ecore_wl2_input.c
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2017-08-23 14:24:11 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2017-08-25 14:48:11 -0400
commit91f513f77d6c2083fff7e39ae56b3eb70929d28b (patch)
tree5ffc4ce6707a010ca0ff36b18fd1a8e6c0a4bf1e /src/lib/ecore_wl2/ecore_wl2_input.c
parentevas: enable rendering of multiple output. (diff)
downloadefl-91f513f77d6c2083fff7e39ae56b3eb70929d28b.tar.gz
ecore-wl2: normalize axis event values
this is value * 10 from the compositor, so /= 10 to get real value fix https://phab.enlightenment.org/T5427 @fix
Diffstat (limited to 'src/lib/ecore_wl2/ecore_wl2_input.c')
-rw-r--r--src/lib/ecore_wl2/ecore_wl2_input.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/ecore_wl2/ecore_wl2_input.c b/src/lib/ecore_wl2/ecore_wl2_input.c
index d20849eda2..6f751fb9b2 100644
--- a/src/lib/ecore_wl2/ecore_wl2_input.c
+++ b/src/lib/ecore_wl2/ecore_wl2_input.c
@@ -233,6 +233,7 @@ _ecore_wl2_input_mouse_wheel_send(Ecore_Wl2_Input *input, unsigned int axis, int
ev->modifiers = input->keyboard.modifiers;
ev->x = input->pointer.sx;
ev->y = input->pointer.sy;
+ value /= 10;
if (axis == WL_POINTER_AXIS_VERTICAL_SCROLL)
{