[gnome-settings-daemon] media-keys: Add support for new XF86RFKill keysym



commit 7fffc28b050db4c2561890e64803f890bfc1e9b3
Author: Hans de Goede <hdegoede redhat com>
Date:   Wed May 10 16:38:33 2017 +0200

    media-keys: Add support for new XF86RFKill keysym
    
    ...and map it to RFKILL_KEY.
    
    This depends on a X-server + libX11 or libxkbcommon which actually support
    the XF86RFKill keysym and a xkeyboard-config which contains a binding for
    it. Specifically the following changes are needed:
    https://cgit.freedesktop.org/xorg/proto/xproto/commit/?id=98a32d328e7195e12c38baa877917335bceffbaf
    https://github.com/xkbcommon/libxkbcommon/commit/939d0909a427bdb076dfbba4ccce440391c6b308
    https://patchwork.freedesktop.org/patch/156341/
    
    See https://bugzilla.gnome.org/show_bug.cgi?id=760517
    
    https://bugzilla.gnome.org/show_bug.cgi?id=781505

 plugins/media-keys/shortcuts-list.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/plugins/media-keys/shortcuts-list.h b/plugins/media-keys/shortcuts-list.h
index 498c581..97026ff 100644
--- a/plugins/media-keys/shortcuts-list.h
+++ b/plugins/media-keys/shortcuts-list.h
@@ -110,6 +110,7 @@ static struct {
         { BATTERY_KEY, NULL, N_("Battery Status"), "XF86Battery", GSD_ACTION_MODE_LAUNCHER },
         { RFKILL_KEY, NULL, N_("Toggle Airplane Mode"), "XF86WLAN", GSD_ACTION_MODE_LAUNCHER },
         { RFKILL_KEY, NULL, N_("Toggle Airplane Mode"), "XF86UWB", GSD_ACTION_MODE_LAUNCHER },
+        { RFKILL_KEY, NULL, N_("Toggle Airplane Mode"), "XF86RFKill", GSD_ACTION_MODE_LAUNCHER },
         { BLUETOOTH_RFKILL_KEY, NULL, N_("Toggle Bluetooth"), "XF86Bluetooth", GSD_ACTION_MODE_LAUNCHER }
 };
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]