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
This commit is contained in:
Peter Hutterer 2020-09-08 16:10:07 +10:00 committed by Florian Müllner
parent d586d06b39
commit 453e02b779

View File

@ -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