forked from enlightenment/efl
ecore_evas_extn: Fix server rendering after restart
Summary: The server can render, only after the server get the OP_SHOW from the client. However, if the server relaunches while client is running, the server cannot get the OP_SHOW. In this case, the client should send the OP_SHOW, when the server is added. Test Plan: Relaunch a server especially the indicator, while client is running. Reviewers: raster, cedric, Hermet, woohyun, jaehwan, jypark, jpeg Subscribers: cedric, seoz Differential Revision: https://phab.enlightenment.org/D3028 Signed-off-by: Jean-Philippe Andre <jp.andre@samsung.com>
This commit is contained in:
parent
0f20a79018
commit
e97d5973e5
|
@ -920,6 +920,10 @@ _ipc_server_add(void *data, int type EINA_UNUSED, void *event)
|
|||
return ECORE_CALLBACK_PASS_ON;
|
||||
extn = bdata->data;
|
||||
if (!extn) return ECORE_CALLBACK_PASS_ON;
|
||||
/* If a server relaunches while a client is running, the server cannot get the OP_SHOW.
|
||||
In this case, the client should send the OP_SHOW, when the server is added. */
|
||||
if (ee->visible && extn->ipc.server)
|
||||
ecore_ipc_server_send(extn->ipc.server, MAJOR, OP_SHOW, 0, 0, 0, NULL, 0);
|
||||
//FIXME: find a way to let app know server there
|
||||
return ECORE_CALLBACK_PASS_ON;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue