gtktextview: Avoid GtkGestureClick claiming on touch press

We still want the drag gesture (and text selection) to work. Avoid claiming
the gesture early, like it's done in the pointer case.
This commit is contained in:
Carlos Garnacho
2020-09-25 17:50:04 +02:00
parent 7d5accc69f
commit 0ccdbfd802

View File

@@ -5480,8 +5480,6 @@ gtk_text_view_click_gesture_pressed (GtkGestureClick *gesture,
if (is_touchscreen)
{
gtk_gesture_set_sequence_state (GTK_GESTURE (gesture), sequence,
GTK_EVENT_SEQUENCE_CLAIMED);
gtk_text_buffer_place_cursor (get_buffer (text_view), &iter);
priv->handle_place_time = g_get_monotonic_time ();
}