From c99da71e96513b65744bfa75e3bae71afe42f3a7 Mon Sep 17 00:00:00 2001 From: Ondrej Holy Date: Wed, 15 Apr 2015 17:55:38 +0200 Subject: [PATCH] backends/x11: Fix set_scroll_button There is copy&pasted code in set_scroll_button, which is apparently wrong, because it is trying to set scroll method instead of the scroll button... https://bugzilla.gnome.org/show_bug.cgi?id=747967 --- src/backends/x11/meta-input-settings-x11.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backends/x11/meta-input-settings-x11.c b/src/backends/x11/meta-input-settings-x11.c index b1060a943..d0a344024 100644 --- a/src/backends/x11/meta-input-settings-x11.c +++ b/src/backends/x11/meta-input-settings-x11.c @@ -180,7 +180,7 @@ meta_input_settings_x11_set_scroll_button (MetaInputSettings *settings, ClutterInputDevice *device, guint button) { - change_property (device, "libinput Scroll Method Enabled", + change_property (device, "libinput Button Scrolling Button", XA_INTEGER, 32, &button, 1); }