[gnome-settings-daemon/gnome-3-8] media-keys: Remove obsolete check for xinput2



commit 893743318c5f6a209283cd54e77076f116569fbd
Author: Florian Müllner <fmuellner gnome org>
Date:   Sat Mar 2 18:14:03 2013 +0100

    media-keys: Remove obsolete check for xinput2
    
    Since commit b0cee1df30b, key grabs are done using gnome-shell's
    DBus API instead of XInput2.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=695020

 plugins/media-keys/gsd-media-keys-manager.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/plugins/media-keys/gsd-media-keys-manager.c b/plugins/media-keys/gsd-media-keys-manager.c
index e611b99..75f7491 100644
--- a/plugins/media-keys/gsd-media-keys-manager.c
+++ b/plugins/media-keys/gsd-media-keys-manager.c
@@ -176,7 +176,6 @@ struct GsdMediaKeysManagerPrivate
         gint             inhibit_keys_fd;
 
         GdkScreen       *screen;
-        int              opcode;
 
         GList           *media_players;
 
@@ -2328,11 +2327,6 @@ gsd_media_keys_manager_start (GsdMediaKeysManager *manager,
 
         gnome_settings_profile_start (NULL);
 
-        if (supports_xinput2_devices (&manager->priv->opcode) == FALSE) {
-                g_debug ("No Xinput2 support, disabling plugin");
-                return TRUE;
-        }
-
 #ifdef HAVE_GUDEV
         manager->priv->streams = g_hash_table_new (g_direct_hash, g_direct_equal);
         manager->priv->udev_client = g_udev_client_new (subsystems);


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