noop when setting pointer object if re-setting same object
authorMike Blumenkrantz <zmike@osg.samsung.com>
Fri, 27 Feb 2015 20:07:24 +0000 (15:07 -0500)
committerMike Blumenkrantz <zmike@osg.samsung.com>
Fri, 27 Feb 2015 20:07:24 +0000 (15:07 -0500)
src/bin/e_pointer.c

index a0d3de2ed0ca5ffb063f4122ed9ce6e30c90e475..765e82e298a7cac43abbfb6816b205a59e27114b 100644 (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;