gtktext: Claim drag gesture after an actual selection change
authorCarlos Garnacho <carlosg@gnome.org>
Sun, 27 Nov 2022 12:06:40 +0000 (13:06 +0100)
committerCarlos Garnacho <carlosg@gnome.org>
Mon, 28 Nov 2022 14:46:41 +0000 (15:46 +0100)
commit76d80f75444d95540da0d472c7e5aea8a74bf218
tree63a8fe0f635a3e5f0a2d614a12e1313ac3bacc7a
parente3b0d57ce733f29b536af89a2ca28a8dd8d943d7
gtktext: Claim drag gesture after an actual selection change

This way, the drag gesture lets the click gesture ::release handler
happen if there was no actual changes to the selected text (i.e.
too short drags). This matches the ::release handler behavior match
the situations in which the OSK was being invoked by the wayland
GtkIMContext.
gtk/gtktext.c