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:
ec02b5f
)
Ui text: defer region show to job
author
Daniel Hirt
<hirt.danny@gmail.com>
Tue, 20 Jun 2017 12:33:09 +0000
(15:33 +0300)
committer
Daniel Hirt
<hirt.danny@gmail.com>
Wed, 21 Jun 2017 08:29:34 +0000
(11:29 +0300)
This moves the region-show logic to the proper update job where
cursors are also updated.
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
dd2fcad
..
0b32ff9
100644
(file)
--- a/
src/lib/elementary/efl_ui_text.c
+++ b/
src/lib/elementary/efl_ui_text.c
@@
-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);
}