From 9eafaf83bbe82fb16331e88ca15e3bc49a2fe56d Mon Sep 17 00:00:00 2001 From: Young Ik Cho Date: Thu, 9 May 2013 20:38:50 +0900 Subject: [PATCH] Revert "fix AppControl launch for multi-windows like WebControl" This reverts commit a67621ea545925e403f11f42ce0260eac6e6fee1 --- src/app/FApp_UiAppImpl.cpp | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/src/app/FApp_UiAppImpl.cpp b/src/app/FApp_UiAppImpl.cpp index 2aa7d34..e9cd041 100644 --- a/src/app/FApp_UiAppImpl.cpp +++ b/src/app/FApp_UiAppImpl.cpp @@ -30,7 +30,6 @@ #include #include -#include #include #include #include @@ -39,7 +38,7 @@ #include #include #include -#include +#include #include "FApp_AppFrame.h" #include "FApp_AppInfo.h" @@ -261,14 +260,8 @@ _UiAppImpl::OnDeviceOrientationChanged(app_device_orientation_e orientation) long _UiAppImpl::OnWindowHandleRequest(void) { - _Window* pWin = _ControlManager::GetInstance()->GetTopVisibleWindow(); - if (pWin) - { - unsigned int han = pWin->GetNativeHandle(); - return han; - } - - return -1; + const _EcoreEvas* const pEvas = GetEcoreEvasMgr()->GetEcoreEvas(); + return (pEvas) ? static_cast(pEvas->GetXWindow()) : -1; } -- 2.7.4