discomfitor pushed a commit to branch enlightenment-0.21.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=89e0308fd2d7d119464a6a85a2c8663adae2328b

commit 89e0308fd2d7d119464a6a85a2c8663adae2328b
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 38f8d110f..a3493c002 100644
--- a/src/bin/e_comp_x.c
+++ b/src/bin/e_comp_x.c
@@ -5245,6 +5245,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