[gnome-settings-daemon] Fix syndaemon never getting started



commit 0ee221afb68fa2d2fae92e3897099d505d6ed2be
Author: Edward Sheldrake <ejsheldrake gmail com>
Date:   Thu Apr 28 18:14:16 2011 +0100

    Fix syndaemon never getting started
    
    XOpenDevice returns a BadDevice X error for the virtual core pointer / keyboard
    devices, and the bug caused other devices to not be checked.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=648885

 plugins/common/gsd-input-helper.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/common/gsd-input-helper.c b/plugins/common/gsd-input-helper.c
index cf01519..5362701 100644
--- a/plugins/common/gsd-input-helper.c
+++ b/plugins/common/gsd-input-helper.c
@@ -95,7 +95,7 @@ touchpad_is_present (void)
                 gdk_error_trap_push ();
                 device = XOpenDevice (GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()), device_info[i].id);
                 if (gdk_error_trap_pop () || (device == NULL))
-                        break;
+                        continue;
 
                 retval = device_is_touchpad (device);
                 if (retval) {



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