[gtk+/xi2: 369/1239] Adapt to XI2 changes in libXi master.
- From: Carlos Garnacho <carlosg src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtk+/xi2: 369/1239] Adapt to XI2 changes in libXi master.
- Date: Tue, 29 Sep 2009 10:47:09 +0000 (UTC)
commit 7d7ac80c5dac14e94e6a63c0f46db61d6661057a
Author: Carlos Garnacho <carlosg gnome org>
Date: Sun Jun 21 19:26:32 2009 +0200
Adapt to XI2 changes in libXi master.
gdk/x11/gdkdevicemanager-xi2.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk/x11/gdkdevicemanager-xi2.c b/gdk/x11/gdkdevicemanager-xi2.c
index e2f1835..ee8c319 100644
--- a/gdk/x11/gdkdevicemanager-xi2.c
+++ b/gdk/x11/gdkdevicemanager-xi2.c
@@ -334,7 +334,7 @@ handle_hierarchy_changed (GdkDeviceManagerXI2 *device_manager,
!(ev->flags & XIDeviceDisabled))
return;
- for (i = 0; i < ev->num_devices; i++)
+ for (i = 0; i < ev->num_info; i++)
{
if (ev->info[i].flags & XIDeviceEnabled)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]