summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Berg <bberg@redhat.com>2018-02-19 14:29:03 +0100
committerBenjamin Berg <bberg@redhat.com>2018-03-16 14:42:02 +0100
commite6151a49c33017eee789585860aa56fe922590c7 (patch)
treecce0fa55b086849068cb58d2c0fc60e62114c43d
parent8cb17c69dc44b16226f99edcd0d85937af689948 (diff)
downloadgnome-settings-daemon-e6151a49c33017eee789585860aa56fe922590c7.tar.gz
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
-rw-r--r--plugins/media-keys/shortcuts-list.h1
1 files changed, 0 insertions, 1 deletions
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"), "<Alt>XF86AudioMute", SHELL_ACTION_MODE_ALL },
{ VOLUME_DOWN_QUIET_KEY, NULL, N_("Quiet Volume Down"), "<Alt>XF86AudioLowerVolume", SHELL_ACTION_MODE_ALL },