cursor: do not unconditionally unset cursor before setting an engine cursor

this is unnecessary: every single engine unsets the cursor when the object
has been deleted

this deletes enlightenment's cursor object

ref 678437003f219f783ba14859a805ea27997470fd

@fix
This commit is contained in:
Mike Blumenkrantz 2016-02-17 18:41:18 -05:00
parent 24a61a25d1
commit 5caa2df05b
1 changed files with 0 additions and 3 deletions

View File

@ -305,9 +305,6 @@ _elm_cursor_set(Elm_Cursor *cur)
cur->obj = NULL;
ELM_SAFE_FREE(cur->hotobj, evas_object_del);
}
ecore_evas_object_cursor_set(cur->ee, NULL,
ELM_OBJECT_LAYER_CURSOR, cur->hot_x,
cur->hot_y);
#ifdef HAVE_ELEMENTARY_X
if (cur->x.win)
ecore_x_window_cursor_set(cur->x.win, cur->x.cursor);