summaryrefslogtreecommitdiff
path: root/src/wkb-ibus.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wkb-ibus.c')
-rw-r--r--src/wkb-ibus.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/wkb-ibus.c b/src/wkb-ibus.c
index 4fa723e..a3a933d 100644
--- a/src/wkb-ibus.c
+++ b/src/wkb-ibus.c
@@ -317,8 +317,11 @@ _wkb_ibus_exe_data_cb(void *data, int type, void *event_data)
if (strncmp(exe_data->data, "(null)", exe_data->size) == 0)
{
- INF("IBus daemon is not running, spawning");
- ecore_idler_add(_wkb_ibus_launch_idler, NULL);
+ if (!wkb_ibus->ibus_daemon)
+ {
+ INF("IBus daemon is not running, spawning");
+ ecore_idler_add(_wkb_ibus_launch_idler, NULL);
+ }
goto end;
}
else if (strstr(exe_data->data, "unknown command") != NULL)