projects
/
platform
/
upstream
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50912bf
)
focus: Fixed focus_region_show to consider bring_in_enable configuration.
author
Daniel Juyung Seo
<seojuyung2@gmail.com>
Thu, 1 May 2014 13:27:02 +0000
(22:27 +0900)
committer
Daniel Juyung Seo
<seojuyung2@gmail.com>
Thu, 1 May 2014 13:27:05 +0000
(22:27 +0900)
focus_auto_scroll_bring_in_enable feature is new in 1.10, this would
not be backported.
src/lib/elm_widget.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_widget.c
b/src/lib/elm_widget.c
index
b6d2237
..
b5d5336
100644
(file)
--- a/
src/lib/elm_widget.c
+++ b/
src/lib/elm_widget.c
@@
-645,7
+645,10
@@
_elm_widget_focus_region_show(Eo *obj, Elm_Widget_Smart_Data *_pd EINA_UNUSED)
if (_elm_scrollable_is(o) && !elm_widget_disabled_get(o))
{
- eo_do(o, elm_interface_scrollable_content_region_show(x, y, w, h));
+ if (!_elm_config->focus_auto_scroll_bring_in_enable)
+ eo_do(o, elm_interface_scrollable_content_region_show(x, y, w, h));
+ else
+ eo_do(o, elm_interface_scrollable_region_bring_in(x, y, w, h));
if (!elm_widget_focus_region_get(o, &x, &y, &w, &h))
{