[mutter] backends/x11: Fix middle button emulation settings
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] backends/x11: Fix middle button emulation settings
- Date: Mon, 20 Sep 2021 18:09:02 +0000 (UTC)
commit 36b5719a3b1b1fdad09b37d02a058f37d343130d
Author: José Expósito <jose exposito89 gmail com>
Date: Tue Sep 14 19:58:20 2021 +0200
backends/x11: Fix middle button emulation settings
Update the name of the property used to toggle middle click emulation to
"libinput Middle Emulation Enabled".
Fix: <#1881>
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2000>
src/backends/x11/meta-input-settings-x11.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/backends/x11/meta-input-settings-x11.c b/src/backends/x11/meta-input-settings-x11.c
index 26048f8039..858e90a5b5 100644
--- a/src/backends/x11/meta-input-settings-x11.c
+++ b/src/backends/x11/meta-input-settings-x11.c
@@ -848,7 +848,7 @@ meta_input_settings_x11_set_mouse_middle_click_emulation (MetaInputSettings *se
if (!is_mouse (settings, device))
return;
- change_property (device, "libinput Middle Click Emulation Enabled",
+ change_property (device, "libinput Middle Emulation Enabled",
XA_INTEGER, 8, &value, 1);
}
@@ -862,7 +862,7 @@ meta_input_settings_x11_set_touchpad_middle_click_emulation (MetaInputSettings
if (!meta_input_settings_x11_is_touchpad_device (settings, device))
return;
- change_property (device, "libinput Middle Click Emulation Enabled",
+ change_property (device, "libinput Middle Emulation Enabled",
XA_INTEGER, 8, &value, 1);
}
@@ -876,7 +876,7 @@ meta_input_settings_x11_set_trackball_middle_click_emulation (MetaInputSettings
if (!meta_input_settings_x11_is_trackball_device (settings, device))
return;
- change_property (device, "libinput Middle Click Emulation Enabled",
+ change_property (device, "libinput Middle Emulation Enabled",
XA_INTEGER, 8, &value, 1);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]