gpointing-device-settings r123 - trunk/src
- From: hiikezoe svn gnome org
- To: svn-commits-list gnome org
- Subject: gpointing-device-settings r123 - trunk/src
- Date: Fri, 6 Mar 2009 03:25:44 +0000 (UTC)
Author: hiikezoe
Date: Fri Mar 6 03:25:44 2009
New Revision: 123
URL: http://svn.gnome.org/viewvc/gpointing-device-settings?rev=123&view=rev
Log:
Check only ExtensionPointer.
Modified:
trunk/src/gpds-xinput.c
Modified: trunk/src/gpds-xinput.c
==============================================================================
--- trunk/src/gpds-xinput.c (original)
+++ trunk/src/gpds-xinput.c Fri Mar 6 03:25:44 2009
@@ -172,6 +172,8 @@
device_infos = XListInputDevices(GDK_DISPLAY(), &n_device_infos);
for (i = 0; i < n_device_infos; i++) {
+ if (device_infos[i].use != IsXExtensionPointer)
+ continue;
if (!strcmp(device_infos[i].name, device_name))
return &device_infos[i];
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]