xwayland: Check for sigusr1 in event handler
XWayland servers sends us SIGUSR1 when it has finished initializing, so we should be checking the signal number when we get the event. Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
60090e6065
commit
5ebc4c76b7
|
@ -243,8 +243,13 @@ fail:
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_cb_signal_event(void *data EINA_UNUSED, int type EINA_UNUSED, void *event EINA_UNUSED)
|
||||
_cb_signal_event(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
|
||||
{
|
||||
Ecore_Event_Signal_User *ev;
|
||||
|
||||
ev = event;
|
||||
if (ev->number != 1) return ECORE_CALLBACK_RENEW;
|
||||
|
||||
/* NB: SIGUSR1 comes from XWayland Server when it has finished
|
||||
* initialized. */
|
||||
|
||||
|
|
Loading…
Reference in New Issue