discomfitor pushed a commit to branch enlightenment-0.22.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=afe31ab8d53e3d65553d98c4b83918e73aa9ec4b

commit afe31ab8d53e3d65553d98c4b83918e73aa9ec4b
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Mon Jan 22 16:35:34 2018 -0500

    toggle x_fatal variable when xwayland crashes
---
 src/modules/xwayland/e_mod_main.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/modules/xwayland/e_mod_main.c 
b/src/modules/xwayland/e_mod_main.c
index 7848595b3..fc28b37dc 100644
--- a/src/modules/xwayland/e_mod_main.c
+++ b/src/modules/xwayland/e_mod_main.c
@@ -262,6 +262,7 @@ static void
 xwayland_fatal(void *d EINA_UNUSED)
 {
    /* on xwayland fatal, attempt to restart it */
+   x_fatal = 1;
    xwl_shutdown();
    xwl_init(NULL);
 }
@@ -359,6 +360,7 @@ xwl_init(void *d EINA_UNUSED)
 {
    char disp[8];
 
+   x_fatal = 0;
    /* make sure it's a wayland compositor */
    if (e_comp->comp_type == E_PIXMAP_TYPE_X) return EINA_FALSE;
 

-- 


Reply via email to