noop when setting pointer object if re-setting same object

This commit is contained in:
Mike Blumenkrantz 2015-02-27 15:07:24 -05:00
parent e6c47e8d90
commit 2e6c593295
1 changed files with 1 additions and 0 deletions

View File

@ -756,6 +756,7 @@ 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;
ec = e_comp_object_client_get(o);
if (ec)
ec->hidden = 1;