[gnome-flashback] input-settings: fix thinko
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-flashback] input-settings: fix thinko
- Date: Sat, 11 Jun 2016 11:14:46 +0000 (UTC)
commit 0ffdf083e38f85e141f8fda6076ac64854eaf0ca
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Sat Jun 11 14:13:56 2016 +0300
input-settings: fix thinko
.../libinput-settings/gf-input-settings.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gnome-flashback/libinput-settings/gf-input-settings.c
b/gnome-flashback/libinput-settings/gf-input-settings.c
index 63595d1..359a9b5 100644
--- a/gnome-flashback/libinput-settings/gf-input-settings.c
+++ b/gnome-flashback/libinput-settings/gf-input-settings.c
@@ -160,7 +160,7 @@ get_devices (GfInputSettings *settings,
device = GDK_DEVICE (l->data);
- if (gdk_device_get_source (device) != source &&
+ if (gdk_device_get_source (device) != source ||
gdk_device_get_device_type (device) == GDK_DEVICE_TYPE_MASTER)
continue;
@@ -952,7 +952,7 @@ check_add_mappable_device (GfInputSettings *settings,
G_CALLBACK (mapped_device_changed_cb),
info, (GClosureNotify) g_free, 0);
- g_hash_table_insert (settings->mappable_devices, device, settings);
+ g_hash_table_insert (settings->mappable_devices, device, gsettings);
update_device_display (settings, gsettings, device);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]