gesture: ignore events if now widget window was found

This commit is contained in:
Carlos Garnacho 2014-04-08 20:39:44 +02:00
parent 759705d3e6
commit 4570837e48

View File

@ -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