Skip to content

Instantly share code, notes, and snippets.

@zmike
Created February 18, 2016 22:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zmike/7259617c08d5f01aad2c to your computer and use it in GitHub Desktop.
Save zmike/7259617c08d5f01aad2c to your computer and use it in GitHub Desktop.
-- a/src/bin/e_pointer.c
++ b/src/bin/e_pointer.c
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────
@@ -779,7 +779,10 @@ e_pointer_object_set(E_Pointer *ptr, Evas_Object *obj, int x, int y)
}
ec = e_comp_object_client_get(o);
if (ec)
ec->hidden = 1;
{
ec->hidden = 1;
e_object_unref(E_OBJECT(ec));
}
}
ecore_evas_cursor_unset(ptr->ee);
@@ -787,7 +790,10 @@ e_pointer_object_set(E_Pointer *ptr, Evas_Object *obj, int x, int y)
{
ec = e_comp_object_client_get(obj);
if (ec)
ec->hidden = 1;
{
ec->hidden = 1;
e_object_ref(E_OBJECT(ec));
}
ecore_evas_object_cursor_set(ptr->ee, obj, E_LAYER_MAX - 1, x, y);
}
else
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment