gtktextview: Claim drag gesture after an actual selection change
authorCarlos Garnacho <carlosg@gnome.org>
Sun, 27 Nov 2022 12:18:18 +0000 (13:18 +0100)
committerCarlos Garnacho <carlosg@gnome.org>
Mon, 28 Nov 2022 14:46:41 +0000 (15:46 +0100)
commited81c265ac1a27c6ab247f5a022b97450729e785
treee14e6ed793991e7f5c41c859f0e29a6236aee78c
parentee6d9478c80d2d913c98dcf9e7db5c7d31e28fbd
gtktextview: 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/gtktextview.c