[gnome-settings-daemon] mouse: Fix touchpad/mouse settings not getting updated
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] mouse: Fix touchpad/mouse settings not getting updated
- Date: Tue, 7 Aug 2012 14:14:56 +0000 (UTC)
commit 27c11315d9019f8357c4d9aeda9c6c22579da0e7
Author: Ondrej Holy <oholy redhat com>
Date: Tue Aug 7 15:13:03 2012 +0100
mouse: Fix touchpad/mouse settings not getting updated
If one of the devices was ignored, we would ignore all the
subsequent devices.
plugins/mouse/gsd-mouse-manager.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plugins/mouse/gsd-mouse-manager.c b/plugins/mouse/gsd-mouse-manager.c
index a867843..0ce9ec1 100644
--- a/plugins/mouse/gsd-mouse-manager.c
+++ b/plugins/mouse/gsd-mouse-manager.c
@@ -983,7 +983,7 @@ mouse_callback (GSettings *settings,
GdkDevice *device = l->data;
if (device_is_ignored (manager, device))
- return;
+ continue;
if (g_str_equal (key, KEY_LEFT_HANDED)) {
gboolean mouse_left_handed;
@@ -1017,7 +1017,7 @@ touchpad_callback (GSettings *settings,
GdkDevice *device = l->data;
if (device_is_ignored (manager, device))
- return;
+ continue;
if (g_str_equal (key, KEY_TAP_TO_CLICK)) {
set_tap_to_click (device, g_settings_get_boolean (settings, key),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]