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
parent 10bd4f8a72
commit fee9840d52

View File

@@ -9628,6 +9628,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;