]> Pileus Git - ~andy/gtk/commit - gdk/gdkwindow.c
gdk: strengthen touch crossing event synthesizing on programmatical crossings
authorCarlos Garnacho <carlos@lanedo.com>
Mon, 3 Dec 2012 17:28:57 +0000 (18:28 +0100)
committerCarlos Garnacho <carlos@lanedo.com>
Tue, 15 Jan 2013 16:48:56 +0000 (17:48 +0100)
commit3210cd6511e99507a36454576b896efa785daf3c
tree5d3823c975ac254f20fb5b3877b49e11fe3e22cd
parenta763738f1571059204b1a1fb3d319c4d72f9025f
gdk: strengthen touch crossing event synthesizing on programmatical crossings

There are cases where crossing events aren't generated by input devices themselves
but rather through programmatical means (windows being moved/hidden/destroyed while
the pointer is on top).

Those events come from X as sourceid=deviceid, and GDK does its deal at lessening
this by setting a meaningful source device on such events, although this caused
some confusion on the mechanism to block/synthesize touch crossing events that
could possibly cause bogus enter events on the new window below the pointer.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=691572
gdk/gdkdisplay.c
gdk/gdkwindow.c