forked from enlightenment/efl
efreetd - new ipc - re-register on reconnect
This commit is contained in:
parent
a149ff6d79
commit
ddb3a60518
|
@ -138,6 +138,15 @@ _cb_server_del(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
|
||||||
IPC_HEAD(Del);
|
IPC_HEAD(Del);
|
||||||
ipc = NULL;
|
ipc = NULL;
|
||||||
_ipc_launch();
|
_ipc_launch();
|
||||||
|
if (ipc)
|
||||||
|
{
|
||||||
|
const char *s;
|
||||||
|
int len = 0;
|
||||||
|
|
||||||
|
s = efreet_language_get();
|
||||||
|
if (s) len = strlen(s);
|
||||||
|
ecore_ipc_server_send(ipc, 1, 0, 0, 0, 0, s, len);
|
||||||
|
}
|
||||||
return ECORE_CALLBACK_DONE;
|
return ECORE_CALLBACK_DONE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue