gtktext: Invoke OSK on button/touch taps that move/undo selection
authorCarlos Garnacho <carlosg@gnome.org>
Sun, 27 Nov 2022 12:10:53 +0000 (13:10 +0100)
committerCarlos Garnacho <carlosg@gnome.org>
Mon, 28 Nov 2022 14:46:41 +0000 (15:46 +0100)
commitee6d9478c80d2d913c98dcf9e7db5c7d31e28fbd
treef6532ba5b512c54b041218314fb7710ef7e0c275
parent76d80f75444d95540da0d472c7e5aea8a74bf218
gtktext: Invoke OSK on button/touch taps that move/undo selection

If the ::release handler is invoked, the press/release happened without
drags in between. Additionally check that the press did not happen within
the selection, and that there is no selection at all.

This makes OSK invoked on taps that move the caret around, while tapping
in the selection invokes edition popup and text handles without bringing
in the OSK.
gtk/gtktext.c