From 930cf317d61618fe0c7178632544fab961c9d438 Mon Sep 17 00:00:00 2001 From: Derek Foreman Date: Tue, 24 Oct 2017 16:00:19 -0500 Subject: [PATCH] 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 --- src/bin/e_comp_x.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bin/e_comp_x.c b/src/bin/e_comp_x.c index 8f4e9555e..9f19eef95 100644 --- a/src/bin/e_comp_x.c +++ b/src/bin/e_comp_x.c @@ -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