Use GDK's current window tracking when synthesizing events in GTK+

Add gdk_device_get_last_event_window(), and use to implement the window
tracking we need for synthesizing crossing events for sensitivity changes
and gtk grabs, rather than keeping the information in qdata and updating
it based when GTK+ gets events.

https://bugzilla.gnome.org/show_bug.cgi?id=726187
This commit is contained in:
Owen W. Taylor
2014-03-12 12:39:03 -04:00
committed by Matthias Clasen
parent 4ce5fcc5c8
commit 40b6d907bf
5 changed files with 71 additions and 78 deletions

View File

@ -736,6 +736,7 @@ GdkTimeCoord
gdk_device_get_axis
gdk_device_list_axes
gdk_device_get_axis_value
gdk_device_get_last_event_window
<SUBSECTION Standard>
GDK_TYPE_AXIS_USE