From: WooHyun Jung <wh0705.jung@samsung.com>

Subject: [E-devel] [Patch] elm_widget_focus_steal should be executed
only with "can_focus" object.

I think elm_widget_focus_steal function should be executed only with
"can_focus" widget object.

("Cannot_focus" object has no right to steal focus from others !!)



SVN revision: 59733
This commit is contained in:
WooHyun Jung 2011-05-27 10:47:52 +00:00 committed by Carsten Haitzler
parent 57fbce9787
commit bc20ba3b20
1 changed files with 1 additions and 0 deletions

View File

@ -1711,6 +1711,7 @@ elm_widget_focus_steal(Evas_Object *obj)
if (sd->focused) return;
if (sd->disabled) return;
if (!sd->can_focus) return;
parent = obj;
for (;;)
{