[gnome-settings-daemon/gnome-3-20] media-keys: Disable rfkill keys handling



commit ae6bfaf0f401190c3e1b0b6fee4534484257e0d4
Author: Bastien Nocera <hadess hadess net>
Date:   Thu May 4 16:29:15 2017 +0200

    media-keys: Disable rfkill keys handling
    
    If we handle rfkill input keys without telling rfkill, we end up
    handling those keys in gnome-settings-daemon, as well as in the kernel's
    rfkill-input driver. As handling all the different keys would require
    more work than possible in a stable release, we'll let rfkill-input
    handle this, and lose the OSD for now.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=760517

 plugins/media-keys/shortcuts-list.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/plugins/media-keys/shortcuts-list.h b/plugins/media-keys/shortcuts-list.h
index 3ed24c4..3c7402d 100644
--- a/plugins/media-keys/shortcuts-list.h
+++ b/plugins/media-keys/shortcuts-list.h
@@ -107,9 +107,12 @@ static struct {
         { KEYBOARD_BRIGHTNESS_DOWN_KEY, NULL, N_("Keyboard Brightness Down"), "XF86KbdBrightnessDown", 
SHELL_ACTION_MODE_ALL },
         { KEYBOARD_BRIGHTNESS_TOGGLE_KEY, NULL, N_("Keyboard Brightness Toggle"), "XF86KbdLightOnOff", 
SHELL_ACTION_MODE_ALL },
         { BATTERY_KEY, NULL, N_("Battery Status"), "XF86Battery", GSD_ACTION_MODE_LAUNCHER },
+        /* FIXME: https://bugzilla.gnome.org/show_bug.cgi?id=760517 */
+#if 0
         { RFKILL_KEY, NULL, N_("Toggle Airplane Mode"), "XF86WLAN", GSD_ACTION_MODE_LAUNCHER },
         { RFKILL_KEY, NULL, N_("Toggle Airplane Mode"), "XF86UWB", GSD_ACTION_MODE_LAUNCHER },
         { BLUETOOTH_RFKILL_KEY, NULL, N_("Toggle Bluetooth"), "XF86Bluetooth", GSD_ACTION_MODE_LAUNCHER }
+#endif
 };
 
 #undef SCREENSAVER_MODE


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