diff options
author | Mike Blumenkrantz <zmike@osg.samsung.com> | 2017-08-23 14:24:11 -0400 |
---|---|---|
committer | Mike Blumenkrantz <zmike@osg.samsung.com> | 2017-08-25 14:48:11 -0400 |
commit | 91f513f77d6c2083fff7e39ae56b3eb70929d28b (patch) | |
tree | 5ffc4ce6707a010ca0ff36b18fd1a8e6c0a4bf1e | |
parent | 8286a56279242bb0418ace7d37b225621b5e5c40 (diff) | |
download | efl-91f513f77d6c2083fff7e39ae56b3eb70929d28b.tar.gz |
ecore-wl2: normalize axis event values
this is value * 10 from the compositor, so /= 10 to get real value
fix T5427
@fix
-rw-r--r-- | src/lib/ecore_wl2/ecore_wl2_input.c | 1 |
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) { |