diff options
author | Ondrej Holy <oholy@redhat.com> | 2015-04-15 17:55:38 +0200 |
---|---|---|
committer | Ondrej Holy <oholy@redhat.com> | 2015-04-17 10:50:33 +0200 |
commit | 3561b46fc6458c196921e2d1da31f6194bd33128 (patch) | |
tree | 5327a70cd837dc89558d63f59dab66a1e5ad252f | |
parent | 8dfb88b669c0f1de3f36d32729adad25f31a46d1 (diff) |
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
-rw-r--r-- | src/backends/x11/meta-input-settings-x11.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backends/x11/meta-input-settings-x11.c b/src/backends/x11/meta-input-settings-x11.c index b1060a94..d0a34402 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); } |