forked from AuroraMiddleware/gtk
Stop looking at the related target for filtering
We are now sending crossing events (which are the only ones where a related target makes sense) via handle_crossing.
This commit is contained in:
parent
d063b6b6cc
commit
b38869b3aa
@ -106,8 +106,7 @@ gtk_event_controller_filter_event_default (GtkEventController *self,
|
||||
|
||||
if (priv->limit == GTK_LIMIT_SAME_NATIVE)
|
||||
{
|
||||
if (same_native (priv->widget, GTK_WIDGET (gdk_event_get_target (event))) &&
|
||||
same_native (priv->widget, GTK_WIDGET (gdk_event_get_related_target (event))))
|
||||
if (same_native (priv->widget, GTK_WIDGET (gdk_event_get_target (event))))
|
||||
return FALSE;
|
||||
|
||||
return TRUE;
|
||||
|
Loading…
Reference in New Issue
Block a user