input-settings: Specify middle-click-emulation key

Which exists, unlike `emulate-middle`.

Closes: https://gitlab.gnome.org/GNOME/mutter/issues/1124
This commit is contained in:
Daniel van Vugt 2020-03-16 15:09:00 +08:00
parent 0700f3749f
commit 074f4974dd

View File

@ -424,7 +424,7 @@ update_middle_click_emulation (MetaInputSettings *input_settings,
ClutterInputDevice *device) ClutterInputDevice *device)
{ {
ConfigBoolFunc func; ConfigBoolFunc func;
const gchar *key = "emulate-middle"; const gchar *key = "middle-click-emulation";
MetaInputSettingsPrivate *priv = meta_input_settings_get_instance_private (input_settings); MetaInputSettingsPrivate *priv = meta_input_settings_get_instance_private (input_settings);
if (!settings) if (!settings)