Commit f65f89b7 authored by Fulz's avatar Fulz Committed by Pekka Paalanen

don't attempt to start input method if path is empty

This allows a user to explicitly disable the input
method by setting path to blank;
Signed-off-by: Fulz's avatarMurray Calavera <murray.calavera@gmail.com>
Reviewed-by: Pekka Paalanen's avatarPekka Paalanen <pekka.paalanen@collabora.co.uk>
parent 9a51cd7d
......@@ -920,6 +920,9 @@ launch_input_method(struct text_backend *text_backend)
if (!text_backend->input_method.path)
return;
if (strcmp(text_backend->input_method.path, "") == 0)
return;
if (text_backend->input_method.process.pid != 0)
return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment