x11: Remove an unnecessary check

We are not creating GDK_NOTHING events anymore. Yay
This commit is contained in:
Matthias Clasen 2020-02-15 10:45:28 -05:00
parent 79b4510c6d
commit e45711e727

View File

@ -292,12 +292,6 @@ gdk_event_source_translate_event (GdkX11Display *x11_display,
}
}
if (event &&
event->any.type == GDK_NOTHING)
{
g_clear_object (&event);
}
if (event &&
(event->any.type == GDK_ENTER_NOTIFY ||
event->any.type == GDK_LEAVE_NOTIFY) &&