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)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 21 Apr 2022 23:23:48 +0000 (19:23 -0400)
commitb14bc4749ed260577cd5c71abd7c5c41b56ccc2f
tree9f0b1d03aa5586b78b7a7147d145b960340c1e8f
parentd56276f6d61cd87b1a41092f46b240c238e4c6ca
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