forked from enlightenment/enlightenment
prevent double shutdown of x11 compositor in xwayland mode
only do shutdown in xwl module if not actively shutting down
This commit is contained in:
parent
e7cfd06675
commit
3fb8253edb
|
@ -451,8 +451,11 @@ xwl_shutdown(void)
|
||||||
if (exs->sig_hdlr) ecore_event_handler_del(exs->sig_hdlr);
|
if (exs->sig_hdlr) ecore_event_handler_del(exs->sig_hdlr);
|
||||||
|
|
||||||
free(exs);
|
free(exs);
|
||||||
if (e_comp_util_has_x()) e_comp_x_shutdown();
|
if (!stopping)
|
||||||
ecore_x_shutdown();
|
{
|
||||||
|
if (e_comp_util_has_x()) e_comp_x_shutdown();
|
||||||
|
ecore_x_shutdown();
|
||||||
|
}
|
||||||
e_util_env_set("DISPLAY", NULL);
|
e_util_env_set("DISPLAY", NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue