From: Enlightenment S. <no-...@en...> - 2010-12-16 18:38:53
|
Log: This helps at Elementary vs non-Elementary UI elements mix scenarios WRT *focus*. It seems not to hurt at Elementary only applications, but if you see any regressions, please tell me!! Author: glima Date: 2010-12-16 10:38:46 -0800 (Thu, 16 Dec 2010) New Revision: 55600 Trac: http://trac.enlightenment.org/e/changeset/55600 Modified: trunk/TMP/st/elementary/src/lib/elm_widget.c Modified: trunk/TMP/st/elementary/src/lib/elm_widget.c =================================================================== --- trunk/TMP/st/elementary/src/lib/elm_widget.c 2010-12-16 18:38:38 UTC (rev 55599) +++ trunk/TMP/st/elementary/src/lib/elm_widget.c 2010-12-16 18:38:46 UTC (rev 55600) @@ -272,7 +272,7 @@ /* we don't want to bump a common widget ancestor's focus_order *twice* while parent focusing */ - if (!ret || (!i) || (i != focus_order)) + if (!ret || (!i) || (i != focus_order) || !elm_widget_focus_get(o)) _parent_focus(o); } |