[PATCH xf86-input-libinput] Fix default scroll button number
Peter Hutterer
peter.hutterer at who-t.net
Mon Dec 5 04:35:09 UTC 2016
Was exposing the evdev code rather than the xorg code.
Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
src/xf86libinput.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/xf86libinput.c b/src/xf86libinput.c
index 747e84b..b130a77 100644
--- a/src/xf86libinput.c
+++ b/src/xf86libinput.c
@@ -4386,6 +4386,7 @@ LibinputInitScrollMethodsProperty(DeviceIntPtr dev,
return;
scroll_button = libinput_device_config_scroll_get_default_button(device);
+ scroll_button = btn_linux2xorg(scroll_button);
prop_scroll_button_default = LibinputMakeProperty(dev,
LIBINPUT_PROP_SCROLL_BUTTON_DEFAULT,
XA_CARDINAL, 32,
--
2.9.3
More information about the xorg-devel
mailing list