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
This commit is contained in:
Ondrej Holy 2015-04-15 17:55:38 +02:00
parent f7e243108d
commit c99da71e96

View File

@ -180,7 +180,7 @@ meta_input_settings_x11_set_scroll_button (MetaInputSettings *settings,
ClutterInputDevice *device, ClutterInputDevice *device,
guint button) guint button)
{ {
change_property (device, "libinput Scroll Method Enabled", change_property (device, "libinput Button Scrolling Button",
XA_INTEGER, 32, &button, 1); XA_INTEGER, 32, &button, 1);
} }