elementary/elm_widget : One of parents sets as disabled, focus_steal
authorwoohyun <woohyun@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 9 Jul 2011 02:26:49 +0000 (02:26 +0000)
committerwoohyun <woohyun@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 9 Jul 2011 02:26:49 +0000 (02:26 +0000)
should be ignored.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@61165 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/elm_widget.c

index 56aa466..0b8af76 100644 (file)
@@ -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;
      }