entry: fix cursor_handler visible issue in unfocused state 03/91403/2
authorYoungbok Shin <youngb.shin@samsung.com>
Fri, 7 Oct 2016 08:18:12 +0000 (17:18 +0900)
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>
Fri, 7 Oct 2016 09:02:31 +0000 (02:02 -0700)
@tizen_fix

Change-Id: Ib00984c4f7c43069761a36a5c8f22604cd2700b2

src/lib/elm_entry.c

index fa062c99ffd3fd0a14ff216f081192a0a10e0567..af35c9b36fb4bed31ccec3dba0fedcb7dc836da8 100644 (file)
@@ -2226,8 +2226,12 @@ _elm_entry_elm_widget_on_focus(Eo *obj, Elm_Entry_Data *sd, Elm_Object_Item *ite
           {
              evas_object_hide(sd->cursor_handler);
              sd->cursor_handler_shown = EINA_FALSE;
+
+             if (sd->cursor_handler_update_job)
+               ecore_job_del(sd->cursor_handler_update_job);
+             sd->cursor_handler_update_job = NULL;
           }
-             //
+        //
         if (_elm_config->selection_clear_enable)
           {
              if ((sd->have_selection) && (!sd->hoversel))