forked from enlightenment/enlightenment
e comp object - fix null comp win access on move begin
don't crash. @fix
This commit is contained in:
parent
9dfbcd6b23
commit
2430b36b84
|
@ -2631,6 +2631,7 @@ _e_comp_object_move_end(void *d EINA_UNUSED, E_Client *ec)
|
||||||
Evas_Object *rect;
|
Evas_Object *rect;
|
||||||
Eina_Array_Iterator it;
|
Eina_Array_Iterator it;
|
||||||
|
|
||||||
|
if (!cw) return;
|
||||||
if (!cw->input_objs) return;
|
if (!cw->input_objs) return;
|
||||||
|
|
||||||
EINA_ARRAY_ITER_NEXT(cw->input_objs, i, rect, it)
|
EINA_ARRAY_ITER_NEXT(cw->input_objs, i, rect, it)
|
||||||
|
@ -2645,6 +2646,7 @@ _e_comp_object_move_begin(void *d EINA_UNUSED, E_Client *ec)
|
||||||
Evas_Object *rect;
|
Evas_Object *rect;
|
||||||
Eina_Array_Iterator it;
|
Eina_Array_Iterator it;
|
||||||
|
|
||||||
|
if (!cw) return;
|
||||||
if (!cw->input_objs) return;
|
if (!cw->input_objs) return;
|
||||||
|
|
||||||
EINA_ARRAY_ITER_NEXT(cw->input_objs, i, rect, it)
|
EINA_ARRAY_ITER_NEXT(cw->input_objs, i, rect, it)
|
||||||
|
|
Loading…
Reference in New Issue