From 678437003f219f783ba14859a805ea27997470fd Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Mon, 31 Mar 2014 20:39:16 +0900 Subject: [PATCH] fix left over soft cursors in elm @fix - this fixes T893 --- src/lib/els_cursor.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/lib/els_cursor.c b/src/lib/els_cursor.c index 8faf90f..3a4665c 100644 --- a/src/lib/els_cursor.c +++ b/src/lib/els_cursor.c @@ -225,6 +225,14 @@ _elm_cursor_set(Elm_Cursor *cur) } else { + if (cur->obj) + { + evas_object_del(cur->obj); + cur->obj = NULL; + } + 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); -- 2.7.4