From e1aed4de500ad1bc0bf1cf47a05fc83f0b806ad4 Mon Sep 17 00:00:00 2001 From: WooHyun Jung Date: Sat, 9 Jul 2011 02:26:49 +0000 Subject: [PATCH] elementary/elm_widget : One of parents sets as disabled, focus_steal should be ignored. SVN revision: 61165 --- legacy/elementary/src/lib/elm_widget.c | 1 + 1 file changed, 1 insertion(+) diff --git a/legacy/elementary/src/lib/elm_widget.c b/legacy/elementary/src/lib/elm_widget.c index 56aa4664d8..0b8af7648c 100644 --- a/legacy/elementary/src/lib/elm_widget.c +++ b/legacy/elementary/src/lib/elm_widget.c @@ -1752,6 +1752,7 @@ elm_widget_focus_steal(Evas_Object *obj) o = elm_widget_parent_get(parent); if (!o) break; sd = evas_object_smart_data_get(o); + if (sd->disabled) return; if (sd->focused) break; parent = o; }