From 453e02b779d8c0aa9966b451d717802cf41e7eb8 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Tue, 8 Sep 2020 16:10:07 +1000 Subject: [PATCH] backends/x11: fix the property type for the scroll button For reasons beyond my memory, this is an XA_CARDINAL, not an XA_INTEGER. https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1431 --- 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 d563f27c4..c71ea70c1 100644 --- a/src/backends/x11/meta-input-settings-x11.c +++ b/src/backends/x11/meta-input-settings-x11.c @@ -391,7 +391,7 @@ meta_input_settings_x11_set_scroll_button (MetaInputSettings *settings, guint button) { change_property (device, "libinput Button Scrolling Button", - XA_INTEGER, 32, &button, 1); + XA_CARDINAL, 32, &button, 1); } static void