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:
parent
570bf1824a
commit
2896a0e9ab
|
@ -988,7 +988,9 @@ input_method_client_notifier(struct wl_listener *listener, void *data)
|
|||
client_listener);
|
||||
|
||||
text_backend->input_method.client = NULL;
|
||||
respawn_input_method_process(text_backend);
|
||||
|
||||
if (!text_backend->compositor->shutting_down)
|
||||
respawn_input_method_process(text_backend);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in New Issue