focus: onscreen_is should not be checked for keeping compatiblity 33/181033/2
authorWooHyun Jung <wh0705.jung@samsung.com>
Tue, 8 May 2018 06:49:58 +0000 (15:49 +0900)
committerJaehyun Cho <jae_hyun.cho@samsung.com>
Fri, 8 Jun 2018 02:32:40 +0000 (02:32 +0000)
@tizen_fix

Change-Id: If81e7b3e49d6813f3d45237fd9f25c2511cc6cbd
Signed-off-by: WooHyun Jung <wh0705.jung@samsung.com>
src/lib/elementary/efl_ui_win.c

index fd32538..ea6363a 100644 (file)
@@ -1566,9 +1566,15 @@ _elm_win_focus_in(Ecore_Evas *ee)
 
                   newest = efl_ui_widget_newest_focus_order_get
                      (obj, &newest_focus_order, EINA_TRUE);
+                  // TIZEN_ONLY (20180508): onscreen_is should not be checked
+                  //                        to keep compatibility with Tizen 2.4
+                  /*
                   if (newest &&
                       (_elm_widget_onscreen_is(newest) || (newest == obj)))
                     efl_ui_widget_focus_restore(obj);
+                  */
+                  if (newest) efl_ui_widget_focus_restore(obj);
+                  /////////////////////////////////////////////////////////////
                   else
                     evas_object_focus_set(obj, EINA_TRUE);
                }