aboutsummaryrefslogtreecommitdiffstats
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
parentefl-wl: unset cursor role on existing cursor surface if new cursor is set (diff)
downloadefl-abc88c498e47380aec01369b3ce3526ae32c6cdf.tar.gz
efl-wl: multiply axis events by 10 to send normalized values
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
axis = WL_POINTER_AXIS_HORIZONTAL_SCROLL;
if (ev->z < 0)
- dir = -wl_fixed_from_int(abs(ev->z));
+ dir = -wl_fixed_from_int(abs(10 * ev->z));
else
- dir = wl_fixed_from_int(ev->z);
+ dir = wl_fixed_from_int(10 * ev->z);
if (cs->dead) return;
s = seat_find(data, ev->dev);