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:
Derek Foreman 2017-10-24 16:00:19 -05:00 committed by Mike Blumenkrantz
parent c09b2f35dd
commit 930cf317d6
1 changed files with 1 additions and 0 deletions

View File

@ -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