[mutter] backends/x11: fix the property type for the scroll button
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] backends/x11: fix the property type for the scroll button
- Date: Wed, 16 Sep 2020 15:13:44 +0000 (UTC)
commit 453e02b779d8c0aa9966b451d717802cf41e7eb8
Author: Peter Hutterer <peter hutterer who-t net>
Date: Tue Sep 8 16:10:07 2020 +1000
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 d563f27c4c..c71ea70c1a 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]