wayland: Always acknowledge state changing .commit() events with .done()

As of currently, we only emit .done() on actual changes coming from the
ClutterInputMethod/ClutterInputFocus. With the recent changes in the
interpretation of serials, it becomes more important now that the
compositor acknowledges every .commit done by the client, in order to
keep them feeding future IM state updates.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2365>
This commit is contained in:
Carlos Garnacho 2022-04-06 13:32:32 +02:00 committed by Marge Bot
parent be2a1d85a5
commit f5f49dfa46

View File

@ -639,6 +639,8 @@ text_input_commit_state (struct wl_client *client,
if (enable_panel)
clutter_input_focus_set_input_panel_state (focus, CLUTTER_INPUT_PANEL_STATE_ON);
meta_wayland_text_input_focus_defer_done (focus);
}
static struct zwp_text_input_v3_interface meta_text_input_interface = {