diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2018-04-20 19:50:33 +0200 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2018-12-06 16:53:17 +0100 |
commit | 281cd9b50fac4b9747ec9072fbd4ac7fdbfae5d7 (patch) | |
tree | cf33d1984145d82b98f4b3dcd213ebb5a8559481 | |
parent | 233a1a72ab7a9534caf33f1702346330a18af407 (diff) | |
download | gnome-settings-daemon-281cd9b50fac4b9747ec9072fbd4ac7fdbfae5d7.tar.gz |
media-keys: Drop touchpad check
If we get a touchpad key action, let's reasonably assume we have a
touchpad. Drops the last usage of *_is_present() API.
-rw-r--r-- | plugins/media-keys/gsd-media-keys-manager.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/plugins/media-keys/gsd-media-keys-manager.c b/plugins/media-keys/gsd-media-keys-manager.c index ed91831e..ae6505c6 100644 --- a/plugins/media-keys/gsd-media-keys-manager.c +++ b/plugins/media-keys/gsd-media-keys-manager.c @@ -1128,11 +1128,6 @@ do_touchpad_action (GsdMediaKeysManager *manager) GSettings *settings; gboolean state; - if (touchpad_is_present () == FALSE) { - do_touchpad_osd_action (manager, FALSE); - return; - } - settings = g_settings_new (SETTINGS_TOUCHPAD_DIR); state = (g_settings_get_enum (settings, TOUCHPAD_ENABLED_KEY) == G_DESKTOP_DEVICE_SEND_EVENTS_ENABLED); |