discomfitor pushed a commit to branch master. http://git.enlightenment.org/core/enlightenment.git/commit/?id=8f09e55b45a4fb4bdf718c8ef6fd61a4cb4dd754
commit 8f09e55b45a4fb4bdf718c8ef6fd61a4cb4dd754 Author: Chris Michael <[email protected]> Date: Fri Sep 5 15:00:00 2014 -0400 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 <[email protected]> --- src/modules/xwayland/e_mod_main.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/modules/xwayland/e_mod_main.c b/src/modules/xwayland/e_mod_main.c index a6dc8bf..f1f6144 100644 --- a/src/modules/xwayland/e_mod_main.c +++ b/src/modules/xwayland/e_mod_main.c @@ -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. */ --
