discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=930cf317d61618fe0c7178632544fab961c9d438

commit 930cf317d61618fe0c7178632544fab961c9d438
Author: Derek Foreman <der...@osg.samsung.com>
Date:   Tue Oct 24 16:00:19 2017 -0500

    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

-- 


Reply via email to