[gnome-settings-daemon/gnome-3-0] Fix syndaemon never getting started
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon/gnome-3-0] Fix syndaemon never getting started
- Date: Tue, 3 May 2011 11:35:49 +0000 (UTC)
commit 5f6fe7ec320b098049b4724aaf3e3503ae13714a
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]