focus: Fixed focus issue that the highlight was not visible on first
authorAmitesh Singh <amitesh.sh@samsung.com>
Thu, 23 Jan 2014 05:12:46 +0000 (14:12 +0900)
committerDaniel Juyung Seo <seojuyung2@gmail.com>
Thu, 23 Jan 2014 05:12:53 +0000 (14:12 +0900)
commitdda785611d86af2daa5be44cd3089c73aef58652
tree1ce6c2a5c6e715c28a3abc8649bc28d0c6f92fe8
parentafc2dbf5eb3ce3b71f24f0f3629d0d3cd6a6441c
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 T774.

Test Plan:
elementary_test->focus then click any widget. Focus won't appear for the first time.

Reviewers: seoz, raster, woohyun

Maniphest Tasks: T774

Differential Revision: https://phab.enlightenment.org/D462
src/lib/elm_win.c