evas: restore expected behavior for rejecting move with same coords

move the check to after the intercept where it was previously

ref 11b7cf6b72

fix T4749
This commit is contained in:
Mike Blumenkrantz 2016-11-07 11:03:16 -05:00
parent 9a10b83281
commit e1e28ce320
2 changed files with 2 additions and 1 deletions

View File

@ -120,7 +120,6 @@ _evas_object_intercept_call(Evas_Object *eo_obj, Evas_Object_Intercept_Cb_Type c
}
i = va_arg(args, int);
j = va_arg(args, int);
if ((obj->cur->geometry.x == i) && (obj->cur->geometry.y == j)) goto end_block;
if (!obj->interceptors) goto end_noblock;
blocked = evas_object_intercept_call_move(eo_obj, obj, i, j);
break;

View File

@ -814,6 +814,8 @@ _efl_canvas_object_efl_gfx_position_set(Eo *eo_obj, Evas_Object_Protected_Data *
if (_evas_object_intercept_call(eo_obj, EVAS_OBJECT_INTERCEPT_CB_MOVE, 1, x, y))
return;
if ((obj->cur->geometry.x == x) && (obj->cur->geometry.y == y)) return;
Evas_Map *map;
map = (Evas_Map *) evas_object_map_get(eo_obj);
if (map && map->move_sync.enabled)