mutter/0027-input-settings-Specify-middle-click-emulation-key.patch

29 lines
1.0 KiB
Diff

From 074f4974ddc6bf8d05914bded058fd131a3fdc8a Mon Sep 17 00:00:00 2001
From: Daniel van Vugt <daniel.van.vugt@canonical.com>
Date: Mon, 16 Mar 2020 15:09:00 +0800
Subject: [PATCH 27/48] input-settings: Specify middle-click-emulation key
Which exists, unlike `emulate-middle`.
Closes: https://gitlab.gnome.org/GNOME/mutter/issues/1124
---
src/backends/meta-input-settings.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/backends/meta-input-settings.c b/src/backends/meta-input-settings.c
index 67dfd82b2..3bee36d41 100644
--- a/src/backends/meta-input-settings.c
+++ b/src/backends/meta-input-settings.c
@@ -424,7 +424,7 @@ update_middle_click_emulation (MetaInputSettings *input_settings,
ClutterInputDevice *device)
{
ConfigBoolFunc func;
- const gchar *key = "emulate-middle";
+ const gchar *key = "middle-click-emulation";
MetaInputSettingsPrivate *priv = meta_input_settings_get_instance_private (input_settings);
if (!settings)
--
2.26.0.rc2