mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 07:30:42 -05:00
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>
This commit is contained in:
parent
765f41de80
commit
f4a32cb7cd
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user