elementary/elm_widget : One of parents sets as disabled, focus_steal
authorWooHyun Jung <woohyun0705@gmail.com>
Sat, 9 Jul 2011 02:26:49 +0000 (02:26 +0000)
committerWooHyun Jung <woohyun0705@gmail.com>
Sat, 9 Jul 2011 02:26:49 +0000 (02:26 +0000)
should be ignored.

SVN revision: 61165

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;
      }