[focus][popup] fix focus related bugs
authorShinwoo Kim <kimcinoo.efl@gmail.com>
Tue, 19 Feb 2013 06:51:19 +0000 (06:51 +0000)
committerShinwoo Kim <kimcinoo.efl@gmail.com>
Tue, 19 Feb 2013 06:51:19 +0000 (06:51 +0000)
commit14a0ba6ea3c4a8e30f021675c189fdb56abeeb83
tree74c8fafe13ef5edcc9c33b5fff6a8e31a27817a6
parentc3a9687a333fa6ccbd295d0489ce60b41e3b4b76
[focus][popup] fix focus related bugs

1. if user just hides the popup, the focus tree is broken. it is caused by elm_object_content_unset(notify);
   popup calls elm_object_content_set(notify, popup); in the _on_show(); it would be terrible.
   there would be a structual problem, but it is hart to figure out.

2. _elm_popup_smart_focus_direction(); calls notify's focus_direction(); and it calls popup's one again.
   there is circular dependency between notify and popup.

SVN revision: 84073
legacy/elementary/src/lib/elc_popup.c