[mutter/gnome-40] backends/x11: Fix middle button emulation settings



commit bc08b40f3c7bdab474239d357ef4c70359a6737e
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>
    
    (cherry picked from commit 36b5719a3b1b1fdad09b37d02a058f37d343130d)

 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 96390285a6..371e2f60ec 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]