make e_pointer_object_set() a no-op when passing the existing cursor

This commit is contained in:
Mike Blumenkrantz 2017-02-03 15:13:48 -05:00
parent 02be57e7e5
commit 9a3939d35c
1 changed files with 1 additions and 1 deletions

View File

@ -799,7 +799,7 @@ e_pointer_object_set(E_Pointer *ptr, Evas_Object *obj, int x, int y)
ec->hidden = 1;
ecore_evas_object_cursor_set(ptr->ee, obj, E_LAYER_MAX - 1, x, y);
}
else
else if (o != ptr->o_ptr)
ecore_evas_object_cursor_set(ptr->ee, ptr->o_ptr, E_LAYER_MAX - 1, ptr->hot.x, ptr->hot.y);
}