summaryrefslogtreecommitdiff
path: root/src/lib/efl_wl
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2018-01-12 16:02:40 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2018-01-12 16:03:12 -0500
commitabc88c498e47380aec01369b3ce3526ae32c6cdf (patch)
tree18587c79653a9c7f1e7391cbee70c7302bc2accf /src/lib/efl_wl
parent60028fafb7f5babf5715ff6642d2306aaa030a90 (diff)
efl-wl: multiply axis events by 10 to send normalized values
ref T6443
Diffstat (limited to 'src/lib/efl_wl')
-rw-r--r--src/lib/efl_wl/efl_wl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/efl_wl/efl_wl.c b/src/lib/efl_wl/efl_wl.c
index 563b2ba285..28a0814710 100644
--- a/src/lib/efl_wl/efl_wl.c
+++ b/src/lib/efl_wl/efl_wl.c
@@ -2178,9 +2178,9 @@ comp_surface_mouse_wheel(void *data, Evas *evas EINA_UNUSED, Evas_Object *obj EI
2178 axis = WL_POINTER_AXIS_HORIZONTAL_SCROLL; 2178 axis = WL_POINTER_AXIS_HORIZONTAL_SCROLL;
2179 2179
2180 if (ev->z < 0) 2180 if (ev->z < 0)
2181 dir = -wl_fixed_from_int(abs(ev->z)); 2181 dir = -wl_fixed_from_int(abs(10 * ev->z));
2182 else 2182 else
2183 dir = wl_fixed_from_int(ev->z); 2183 dir = wl_fixed_from_int(10 * ev->z);
2184 2184
2185 if (cs->dead) return; 2185 if (cs->dead) return;
2186 s = seat_find(data, ev->dev); 2186 s = seat_find(data, ev->dev);