elementary/elm_win : when window is shonw at the first time, only
authorwoohyun <woohyun@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 14 Dec 2011 00:43:15 +0000 (00:43 +0000)
committerwoohyun <woohyun@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 14 Dec 2011 00:43:15 +0000 (00:43 +0000)
elm_win should be set as focused. not for child objects.

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

src/lib/elm_win.c

index c8363a7..b4bdc35 100644 (file)
@@ -313,7 +313,7 @@ _elm_win_focus_in(Ecore_Evas *ee)
    _elm_widget_top_win_focused_set(win->win_obj, EINA_TRUE);
    if (win->show_count == 1)
      {
-        elm_object_focus_set(win->win_obj, EINA_TRUE);
+        elm_widget_focus_steal(win->win_obj);
         win->show_count++;
      }
    else