Add new hint to enable/disable auto raising window feature
[platform/core/appfw/app-core.git] / src / ui_base / appcore_ui_base.c
index 76681c5..8872ac4 100644 (file)
@@ -444,8 +444,10 @@ static void __do_start(bundle *b)
                }
        }
 
-       if (!bg_state)
-               __raise_win();
+       if (__context.hint & APPCORE_UI_BASE_HINT_WINDOW_AUTO_CONTROL) {
+               if (!bg_state)
+                       __raise_win();
+       }
 }
 
 EXPORT_API int appcore_ui_base_on_receive(aul_type type, bundle *b)