diff --git a/src/lib/efl_wl/efl_wl.c b/src/lib/efl_wl/efl_wl.c index 3234921c26..12b2fa81f6 100644 --- a/src/lib/efl_wl/efl_wl.c +++ b/src/lib/efl_wl/efl_wl.c @@ -2390,9 +2390,6 @@ comp_surface_smart_del(Evas_Object *obj) { Comp_Surface *cs = evas_object_smart_data_get(obj); - if ((cs->c) && (cs->c->active_surface == cs)) - cs->c->active_surface = NULL; - array_clear(&cs->input_rects); array_clear(&cs->opaque_rects); eina_tiler_free(cs->opaque);