forked from enlightenment/enlightenment
Clear stored root window id when shutting down X
Currently e_comp_util_has_x() will still return true after the X machinery is shut down - this can lead to crashes on logout under wayland when xwayland apps are running. Clearing the root window id resolves this. @ref T5593
This commit is contained in:
parent
c09b2f35dd
commit
930cf317d6
|
@ -5394,6 +5394,7 @@ _e_comp_x_del(E_Comp *c)
|
|||
E_FREE_FUNC(unfocus_job, ecore_job_del);
|
||||
free(c->x_comp_data);
|
||||
c->x_comp_data = e_comp_x = NULL;
|
||||
c->root = 0;
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in New Issue