forked from AuroraMiddleware/gtk
Quietly ignore GDK_NOTHING events
These don't have a surface, so we can't deliver them via the ::event signal. But then, they're good for nothing anyway.
This commit is contained in:
parent
4001e7645b
commit
b6893b6d9f
@ -149,6 +149,9 @@ gdk_event_class_init (GdkEventClass *klass)
|
||||
void
|
||||
_gdk_event_emit (GdkEvent *event)
|
||||
{
|
||||
if (gdk_event_get_event_type (event) == GDK_NOTHING)
|
||||
return;
|
||||
|
||||
if (gdk_drag_handle_source_event (event))
|
||||
return;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user