text-backend: Don't restart client on exit

When we're shutting down, don't try to restart the IM client.

Signed-off-by: Daniel Stone <daniels@collabora.com>
This commit is contained in:
Daniel Stone 2023-05-01 19:46:38 +01:00
parent 570bf1824a
commit 2896a0e9ab
1 changed files with 3 additions and 1 deletions

View File

@ -988,6 +988,8 @@ input_method_client_notifier(struct wl_listener *listener, void *data)
client_listener);
text_backend->input_method.client = NULL;
if (!text_backend->compositor->shutting_down)
respawn_input_method_process(text_backend);
}