diff options
author | Mike Blumenkrantz <zmike@osg.samsung.com> | 2018-01-22 16:35:34 -0500 |
---|---|---|
committer | Mike Blumenkrantz <zmike@osg.samsung.com> | 2018-01-22 16:35:34 -0500 |
commit | 5d59cf11dc2ada49f39e4c52be6b125d40ae3323 (patch) | |
tree | fcdc5e830558352a860e9319cefeb86ec2e222fd | |
parent | 8ffda5f23a8552dd15400d0895e67098193184c5 (diff) | |
download | enlightenment-5d59cf11dc2ada49f39e4c52be6b125d40ae3323.tar.gz |
toggle x_fatal variable when xwayland crashes
-rw-r--r-- | src/modules/xwayland/e_mod_main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/xwayland/e_mod_main.c b/src/modules/xwayland/e_mod_main.c index 7848595b32..fc28b37dce 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; |