elementary/elm_widget : When adding a sub-object, top_win_focused flag
authorWooHyun Jung <woohyun0705@gmail.com>
Tue, 20 Mar 2012 08:42:23 +0000 (08:42 +0000)
committerWooHyun Jung <woohyun0705@gmail.com>
Tue, 20 Mar 2012 08:42:23 +0000 (08:42 +0000)
of parent object should be set for all sub-objects in the tree.

SVN revision: 69523

src/lib/elm_widget.c

index 0e9a083..a05efd9 100644 (file)
@@ -951,7 +951,7 @@ elm_widget_sub_object_add(Evas_Object *obj,
              if (sd2->parent_obj)
                elm_widget_sub_object_del(sd2->parent_obj, sobj);
              sd2->parent_obj = obj;
-             sd2->top_win_focused = sd->top_win_focused;
+             _elm_widget_top_win_focused_set(sobj, sd->top_win_focused);
              if (!sd->child_can_focus && (_is_focusable(sobj)))
                sd->child_can_focus = EINA_TRUE;
           }