forked from enlightenment/enlightenment
make e_pointer_object_set() a no-op when passing the existing cursor
This commit is contained in:
parent
8144cd0cda
commit
c68ca50ced
|
@ -807,7 +807,7 @@ e_pointer_object_set(E_Pointer *ptr, Evas_Object *obj, int x, int y)
|
||||||
ec->hidden = 1;
|
ec->hidden = 1;
|
||||||
ecore_evas_object_cursor_set(ptr->ee, obj, E_LAYER_MAX - 1, x, y);
|
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);
|
ecore_evas_object_cursor_set(ptr->ee, ptr->o_ptr, E_LAYER_MAX - 1, ptr->hot.x, ptr->hot.y);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue