From f4a32cb7cdbbea56b0a883c033c2f1704606bafd Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Tue, 27 Jul 2021 16:50:15 +0200 Subject: [PATCH] clutter: Forward button press/touch down onto ClutterText IM focus So these can properly trigger reset of the IM. Part-of: --- clutter/clutter/clutter-text.c | 3 +++ 1 file changed, 3 insertions(+) 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