summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdk/gdkevents.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gdk/gdkevents.c b/gdk/gdkevents.c
index a076da7b7b..3b0944d3cc 100644
--- a/gdk/gdkevents.c
+++ b/gdk/gdkevents.c
@@ -150,7 +150,10 @@ void
_gdk_event_emit (GdkEvent *event)
{
if (gdk_event_get_event_type (event) == GDK_NOTHING)
- return;
+ {
+ g_warning ("Ignoring GDK_NOTHING events; they're good for nothing");
+ return;
+ }
if (gdk_drag_handle_source_event (event))
return;