summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Ralls <jralls@ceridwen.us>2013-10-10 22:24:43 (GMT)
committerJohn Ralls <jralls@ceridwen.us>2013-10-10 22:37:27 (GMT)
commit46838a2fe2dd94c33792d763e069b5d72987120f (patch)
tree311e4d16f24744a572bc81cb82416d4a61afbd33
parentf86dc163b9151917bde2d7d8649082c5484fff2b (diff)
downloadgtk-46838a2fe2dd94c33792d763e069b5d72987120f.tar.gz
gtk-46838a2fe2dd94c33792d763e069b5d72987120f.tar.xz
Suppress frequent device assertions
Because send crossing event is usually called with a NULL source_device in quartz.
-rw-r--r--gdk/gdkwindow.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c
index f096101..6d2bd68 100644
--- a/gdk/gdkwindow.c
+++ b/gdk/gdkwindow.c
@@ -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)