Ui text: defer region show to job

This moves the region-show logic to the proper update job where
cursors are also updated.
This commit is contained in:
Daniel Hirt 2017-06-20 15:33:09 +03:00
parent ec02b5f3fb
commit f3fff0c687
1 changed files with 1 additions and 1 deletions

View File

@ -4732,6 +4732,7 @@ _update_text_cursors(Eo *obj)
evas_object_hide(sd->cursor_bidi);
}
}
_cursor_geometry_recalc(obj);
}
static void
@ -5319,7 +5320,6 @@ _efl_ui_text_cursor_changed_cb(void *data, const Efl_Event *event EINA_UNUSED)
EFL_UI_TEXT_DATA_GET(data, sd);
sd->cur_changed = EINA_TRUE;
sd->deferred_decoration_cursor = EINA_TRUE;
_cursor_geometry_recalc(data);
_decoration_defer(data);
}