forked from AuroraMiddleware/gtk
Suppress frequent device assertions
Because send crossing event is usually called with a NULL source_device in quartz.
This commit is contained in:
parent
f86dc163b9
commit
46838a2fe2
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user