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:
b03197a
)
Revert "bug fix: _elm_widget_focus_region_show"
author
Jaeun Choi
<jaeun12.choi@samsung.com>
Wed, 25 Jun 2014 04:49:44 +0000
(13:49 +0900)
committer
Jaeun Choi
<jaeun12.choi@samsung.com>
Wed, 25 Jun 2014 04:49:44 +0000
(13:49 +0900)
This reverts commit
1574f59fd88c53b380ab83317106164ae1c84652
.
This breaks focus move in scroller
src/lib/elm_widget.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_widget.c
b/src/lib/elm_widget.c
index
6d24f0a
..
283041a
100644
(file)
--- a/
src/lib/elm_widget.c
+++ b/
src/lib/elm_widget.c
@@
-648,12
+648,6
@@
_elm_widget_focus_region_show(Eo *obj, Elm_Widget_Smart_Data *_pd EINA_UNUSED)
if (_elm_scrollable_is(o) && !elm_widget_disabled_get(o))
{
- if (!elm_widget_focus_region_get(o, &x, &y, &w, &h))
- {
- o = elm_widget_parent_get(o);
- continue;
- }
-
switch (_elm_config->focus_autoscroll_mode)
{
case ELM_FOCUS_AUTOSCROLL_MODE_SHOW:
@@
-665,6
+659,13
@@
_elm_widget_focus_region_show(Eo *obj, Elm_Widget_Smart_Data *_pd EINA_UNUSED)
default:
break;
}
+
+
+ if (!elm_widget_focus_region_get(o, &x, &y, &w, &h))
+ {
+ o = elm_widget_parent_get(o);
+ continue;
+ }
}
else
{