forked from AuroraMiddleware/gtk
x11: Remove an unnecessary check
We are not creating GDK_NOTHING events anymore. Yay
This commit is contained in:
parent
79b4510c6d
commit
e45711e727
@ -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) &&
|
||||
|
Loading…
Reference in New Issue
Block a user