mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 16:10:41 -05:00
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:
parent
d586d06b39
commit
453e02b779
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user