[gtk+/xi2: 778/1239] Use GdkDisplay->pointer_info.motion_hint_serial.
- From: Carlos Garnacho <carlosg src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtk+/xi2: 778/1239] Use GdkDisplay->pointer_info.motion_hint_serial.
- Date: Tue, 29 Sep 2009 10:51:01 +0000 (UTC)
commit 88837c962d11423d8b79663033230feedbbf7322
Author: Carlos Garnacho <carlos lanedo com>
Date: Sun Aug 16 22:09:45 2009 +0200
Use GdkDisplay->pointer_info.motion_hint_serial.
This info is not stored per-device yet, XI2 doesn't seem to have motion
hints anyway...
gdk/gdkwindow.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c
index 91d0ba8..e2106ce 100644
--- a/gdk/gdkwindow.c
+++ b/gdk/gdkwindow.c
@@ -9173,13 +9173,13 @@ proxy_pointer_event (GdkDisplay *display,
if (event_win &&
(evmask & GDK_POINTER_MOTION_HINT_MASK))
{
- if (pointer_info->motion_hint_serial != 0 &&
- serial < pointer_info->motion_hint_serial)
+ if (display->pointer_info.motion_hint_serial != 0 &&
+ serial < display->pointer_info.motion_hint_serial)
event_win = NULL; /* Ignore event */
else
{
is_hint = TRUE;
- pointer_info->motion_hint_serial = G_MAXULONG;
+ display->pointer_info.motion_hint_serial = G_MAXULONG;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]