projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40e97c6
)
Ui text: fix cursor api call
author
Daniel Hirt
<hirt.danny@gmail.com>
Tue, 20 Jun 2017 12:31:08 +0000
(15:31 +0300)
committer
Daniel Hirt
<hirt.danny@gmail.com>
Wed, 21 Jun 2017 08:29:34 +0000
(11:29 +0300)
This widget doesn't have a text part.
src/lib/elementary/efl_ui_text.c
patch
|
blob
|
history
diff --git
a/src/lib/elementary/efl_ui_text.c
b/src/lib/elementary/efl_ui_text.c
index
60bfe93
..
dd2fcad
100644
(file)
--- a/
src/lib/elementary/efl_ui_text.c
+++ b/
src/lib/elementary/efl_ui_text.c
@@
-1208,8
+1208,11
@@
_efl_ui_text_elm_widget_on_focus_region(Eo *obj EINA_UNUSED, Efl_Ui_Text_Data *s
{
Evas_Coord edje_x, edje_y, elm_x, elm_y;
- edje_object_part_text_cursor_geometry_get
- (sd->entry_edje, "elm.text", x, y, w, h);
+ efl_text_cursor_geometry_get(obj,
+ efl_text_cursor_get(obj, EFL_TEXT_CURSOR_GET_MAIN),
+ EFL_TEXT_CURSOR_TYPE_BEFORE,
+ x, y, w, h,
+ NULL, NULL, NULL, NULL);
if (sd->single_line)
{