discomfitor pushed a commit to branch enlightenment-0.21.

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

commit f958317bf5b44dbd77c367920158e67b5beeb678
Author: Mike Blumenkrantz <[email protected]>
Date:   Fri Mar 10 15:57:15 2017 -0500

    call e_randr2_shutdown in comp shutdown
    
    this should always be called, not just in comp_x
---
 src/bin/e_comp.c   | 2 ++
 src/bin/e_comp_x.c | 1 -
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/bin/e_comp.c b/src/bin/e_comp.c
index 48ee8a9..3c1569a 100644
--- a/src/bin/e_comp.c
+++ b/src/bin/e_comp.c
@@ -849,6 +849,8 @@ _e_comp_free(E_Comp *c)
    E_FREE_LIST(c->zones, e_object_del);
 
    e_comp_canvas_clear();
+
+   e_randr2_shutdown();
 #ifdef HAVE_WAYLAND
    if (c->comp_type == E_PIXMAP_TYPE_WL)
      e_comp_wl_shutdown();
diff --git a/src/bin/e_comp_x.c b/src/bin/e_comp_x.c
index d7a63e3..165aec8 100644
--- a/src/bin/e_comp_x.c
+++ b/src/bin/e_comp_x.c
@@ -5697,7 +5697,6 @@ e_comp_x_shutdown(void)
      ecore_x_screensaver_custom_blanking_disable();
    if (x_fatal) return;
    e_atoms_shutdown();
-   e_randr2_shutdown();
    /* ecore_x_ungrab(); */
    ecore_x_focus_reset();
    ecore_x_events_allow_all();

-- 


Reply via email to