summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/elementary/efl_ui_win.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/elementary/efl_ui_win.c b/src/lib/elementary/efl_ui_win.c
index 6bd5b4da06..8752d90aca 100644
--- a/src/lib/elementary/efl_ui_win.c
+++ b/src/lib/elementary/efl_ui_win.c
@@ -4354,7 +4354,11 @@ static inline void
4354_elm_object_part_cursor_set(Evas_Object *obj, Evas_Object *edj, 4354_elm_object_part_cursor_set(Evas_Object *obj, Evas_Object *edj,
4355 const char *part, const char *cursor) 4355 const char *part, const char *cursor)
4356{ 4356{
4357 Evas_Object *sub = (Evas_Object *) edje_object_part_object_get(edj, part); 4357 Evas_Object *sub;
4358
4359 edje_object_freeze(edj);
4360 sub = (Evas_Object *)edje_object_part_object_get(edj, part);
4361 edje_object_thaw(edj);
4358 if (!sub) return; 4362 if (!sub) return;
4359 4363
4360 elm_object_sub_cursor_set(sub, obj, cursor); 4364 elm_object_sub_cursor_set(sub, obj, cursor);