gdk: Only trigger motion hints machinery on motion events

Touch events have no need for it, plus the concept behind
gdk_event_request_motions() doesn't wrap around multiple
touches within a device.
This commit is contained in:
Carlos Garnacho 2012-01-05 01:00:19 +01:00 committed by Matthias Clasen
parent 2f2774b7a9
commit 0a80c26cdf

View File

@ -9395,6 +9395,7 @@ proxy_pointer_event (GdkDisplay *display,
is_hint = FALSE;
if (event_win &&
source_event->type == GDK_MOTION_NOTIFY &&
(evmask & GDK_POINTER_MOTION_HINT_MASK))
{
gulong *device_serial;