call e_randr2_shutdown in comp shutdown

this should always be called, not just in comp_x
This commit is contained in:
Mike Blumenkrantz 2017-03-10 15:57:15 -05:00
parent a064899511
commit 05ef0b0280
2 changed files with 2 additions and 1 deletions

View File

@ -850,6 +850,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();

View File

@ -5666,7 +5666,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();