re-setting same cursor object updates hotspot as expected

This commit is contained in:
Mike Blumenkrantz 2015-03-05 11:27:23 -05:00
parent ac7a94261a
commit c9ef6e5c77
1 changed files with 5 additions and 1 deletions

View File

@ -756,7 +756,11 @@ e_pointer_object_set(E_Pointer *ptr, Evas_Object *obj, int x, int y)
ecore_evas_cursor_get(ptr->ee, &o, NULL, NULL, NULL);
if (o)
{
if (o == obj) return;
if (o == obj)
{
ecore_evas_object_cursor_set(ptr->ee, obj, EVAS_LAYER_MAX, x, y);
return;
}
ec = e_comp_object_client_get(o);
if (ec)
ec->hidden = 1;