forked from AuroraMiddleware/gtk
gesture: ignore events if now widget window was found
This commit is contained in:
parent
759705d3e6
commit
4570837e48
@ -292,6 +292,9 @@ _gtk_gesture_update_point (GtkGesture *gesture,
|
||||
priv = gtk_gesture_get_instance_private (gesture);
|
||||
widget_window = _find_widget_window (gesture, event->any.window);
|
||||
|
||||
if (!widget_window)
|
||||
return FALSE;
|
||||
|
||||
if (add)
|
||||
{
|
||||
/* If the event happens with the wrong device, or
|
||||
|
Loading…
Reference in New Issue
Block a user