mirror of
https://github.com/brl/mutter.git
synced 2024-11-09 07:26:51 -05:00
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>
This commit is contained in:
parent
922878acc6
commit
36b5719a3b
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user