aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/elementary/src/lib/elm_win.c
diff options
context:
space:
mode:
authorAmitesh Singh <amitesh.sh@samsung.com>2014-01-23 14:12:46 +0900
committerDaniel Juyung Seo <seojuyung2@gmail.com>2014-01-23 14:12:53 +0900
commitaed0272e8c4f02965fafe6f5aca0451f289de70e (patch)
tree84aab649c4099f6902001b987c803e7dcfc9cb0c /legacy/elementary/src/lib/elm_win.c
parentnaviframe - don't access item after del (diff)
downloadefl-aed0272e8c4f02965fafe6f5aca0451f289de70e.tar.gz
focus: Fixed focus issue that the highlight was not visible on first
click. Summary: Focus highlight was not visible on first click on a widget with focus_highlight enabled on the window. This happens because on first click, the "elm,action,focus,show" signal was emitted before setting focus highlight edje object as theme object of elm window. In this patch, moved the _elm_win_focus_highlight_visible_set() call after focus highlight edje object set as theme object of window. This fixes https://phab.enlightenment.org/T774. Test Plan: elementary_test->focus then click any widget. Focus won't appear for the first time. Reviewers: seoz, raster, woohyun Maniphest Tasks: https://phab.enlightenment.org/T774 Differential Revision: https://phab.enlightenment.org/D462
Diffstat (limited to 'legacy/elementary/src/lib/elm_win.c')
-rw-r--r--legacy/elementary/src/lib/elm_win.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/legacy/elementary/src/lib/elm_win.c b/legacy/elementary/src/lib/elm_win.c
index 3ef1daca58..7e111c93b5 100644
--- a/legacy/elementary/src/lib/elm_win.c
+++ b/legacy/elementary/src/lib/elm_win.c
@@ -763,7 +763,6 @@ _elm_win_focus_highlight_reconfigure(Elm_Win_Smart_Data *sd)
else
common_visible = sd->focus_highlight.cur.visible;
- _elm_win_focus_highlight_visible_set(sd, common_visible);
if (sig)
elm_widget_signal_emit(target, sig, "elm");
@@ -798,6 +797,7 @@ _elm_win_focus_highlight_reconfigure(Elm_Win_Smart_Data *sd)
evas_object_raise(fobj);
the_end:
+ _elm_win_focus_highlight_visible_set(sd, common_visible);
sd->focus_highlight.geometry_changed = EINA_FALSE;
sd->focus_highlight.prev = sd->focus_highlight.cur;
}