diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2021-07-27 16:50:15 +0200 |
---|---|---|
committer | Marge Bot <marge-bot@gnome.org> | 2021-09-03 22:05:46 +0000 |
commit | f4a32cb7cdbbea56b0a883c033c2f1704606bafd (patch) | |
tree | 4f6584d22976d8ba7a7ef3f7012a78ee9c2ef76c /clutter | |
parent | 765f41de803e9d14f31e3659015a6da3802535dc (diff) | |
download | mutter-f4a32cb7cdbbea56b0a883c033c2f1704606bafd.tar.gz |
clutter: Forward button press/touch down onto ClutterText IM focus
So these can properly trigger reset of the IM.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1940>
Diffstat (limited to 'clutter')
-rw-r--r-- | clutter/clutter/clutter-text.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clutter/clutter/clutter-text.c b/clutter/clutter/clutter-text.c index 80e53ea32..08d17f6ce 100644 --- a/clutter/clutter/clutter-text.c +++ b/clutter/clutter/clutter-text.c @@ -2172,6 +2172,9 @@ clutter_text_press (ClutterActor *actor, clutter_input_focus_set_input_panel_state (priv->input_focus, CLUTTER_INPUT_PANEL_STATE_TOGGLE); + if (clutter_input_focus_is_focused (priv->input_focus)) + clutter_input_focus_filter_event (priv->input_focus, event); + /* if the actor is empty we just reset everything and not * set up the dragging of the selection since there's nothing * to select |