From e6151a49c33017eee789585860aa56fe922590c7 Mon Sep 17 00:00:00 2001 From: Benjamin Berg Date: Mon, 19 Feb 2018 14:29:03 +0100 Subject: media-keys: Remove legacy mapping from F20 to microphone mute The current situation is that udev maps the microphone key to F20, which is then mapped to XF86AudioMicMute by the X keyboard config. The requirement to explicitly handle F20 is therefore gone since the xkeyboard-config change has been merged mid 2013. See also https://bugs.freedesktop.org/show_bug.cgi?id=54171 https://bugzilla.gnome.org/show_bug.cgi?id=793596 --- plugins/media-keys/shortcuts-list.h | 1 - 1 file changed, 1 deletion(-) diff --git a/plugins/media-keys/shortcuts-list.h b/plugins/media-keys/shortcuts-list.h index 00a15b64..fbfd8534 100644 --- a/plugins/media-keys/shortcuts-list.h +++ b/plugins/media-keys/shortcuts-list.h @@ -48,7 +48,6 @@ static struct { { MUTE_KEY, "volume-mute", NULL, NULL, SHELL_ACTION_MODE_ALL }, { VOLUME_DOWN_KEY, "volume-down", NULL, NULL, SHELL_ACTION_MODE_ALL }, { VOLUME_UP_KEY, "volume-up", NULL, NULL, SHELL_ACTION_MODE_ALL }, - { MIC_MUTE_KEY, NULL, N_("Microphone Mute"), "F20", SHELL_ACTION_MODE_ALL }, { MIC_MUTE_KEY, NULL, N_("Microphone Mute"), "XF86AudioMicMute", SHELL_ACTION_MODE_ALL }, { MUTE_QUIET_KEY, NULL, N_("Quiet Volume Mute"), "XF86AudioMute", SHELL_ACTION_MODE_ALL }, { VOLUME_DOWN_QUIET_KEY, NULL, N_("Quiet Volume Down"), "XF86AudioLowerVolume", SHELL_ACTION_MODE_ALL }, -- cgit v1.2.1