imwayland: Connect OSK activating gesture to parent widget on editables
authorCarlos Garnacho <carlosg@gnome.org>
Wed, 6 Apr 2022 09:01:01 +0000 (11:01 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Wed, 6 Apr 2022 11:52:05 +0000 (13:52 +0200)
commit7ab39b546120eb2b605f3918aaee4face6291c76
treeb67338c6b49a8d794070749ff4015cd9db7408b6
parent21cba193adf150f522c1bd89faa136ba8d9531cd
imwayland: Connect OSK activating gesture to parent widget on editables

The gesture as connected currently on the child GtkText is easily overridden
by the parent editables (and gently done so in the attempt to consume all
clicks).

Connect this gesture to the parent editable widget in these cases, so the
gesture can cohabit with the click-consuming one. It's not part of the same
group, but it won't be abruptly cancelled.

Fixes: https://gitlab.gnome.org/GNOME/gtk/-/issues/4795
gtk/gtkimcontextwayland.c