Switch motion hint emulation to be serial based.

For backends not supporting serials, just have
_gdk_windowing_window_get_next_serial return zero.
This commit is contained in:
Alexander Larsson
2009-01-23 21:07:53 +01:00
committed by Alexander Larsson
parent 19cd4d6af8
commit e24c9e291d
7 changed files with 41 additions and 16 deletions

View File

@ -83,7 +83,7 @@ typedef struct
gdouble toplevel_x, toplevel_y;
guint32 state;
guint32 button;
gboolean motion_hint_paused; /* TRUE if we've sent a motion to a window with motion hints enabled */
gulong motion_hint_serial; /* 0 == didn't deliver hinted motion event */
} GdkPointerWindowInfo;
struct _GdkDisplay