gtktextview: Invoke OSK on button/touch taps that move/undo selection
authorCarlos Garnacho <carlosg@gnome.org>
Sun, 27 Nov 2022 12:20:02 +0000 (13:20 +0100)
committerCarlos Garnacho <carlosg@gnome.org>
Mon, 28 Nov 2022 14:46:41 +0000 (15:46 +0100)
commit6cbb7b848a16f10e4dec39cd6c43ce0fa854b103
tree7642effbcd0ccce6da5e0f235ec61977d9b8f841
parented81c265ac1a27c6ab247f5a022b97450729e785
gtktextview: 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 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/gtktextview.c