Suppress frequent device assertions

Because send crossing event is usually called with a NULL source_device in quartz.
This commit is contained in:
John Ralls 2013-10-10 15:24:43 -07:00
parent f86dc163b9
commit 46838a2fe2

View File

@ -7477,6 +7477,7 @@ send_crossing_event (GdkDisplay *display,
if (type == GDK_ENTER_NOTIFY &&
(pointer_info->need_touch_press_enter ||
source_device &&
gdk_device_get_source (source_device) == GDK_SOURCE_TOUCHSCREEN) &&
mode != GDK_CROSSING_TOUCH_BEGIN &&
mode != GDK_CROSSING_TOUCH_END)