#include "FUi_ActiveWindowEvent.h"
#include "FUi_ControlImplManager.h"
#include "FUiCtrl_Popup.h"
+#include "FUiCtrl_ContextMenu.h"
using namespace Tizen::Base;
using namespace Tizen::Base::Runtime;
int rotate = ecore_evas_rotation_get(pEcoreEvas);
_Window* pWindow = const_cast<_Window*>(&window);
+
+ _ContextMenu* pContextMenu = dynamic_cast<_ContextMenu*>(pWindow);
+ if (pContextMenu)
+ {
+ // [Exception]
+ // ContextMenu
+ // Skip
+
+ _ControlManager* pControlManager = _ControlManager::GetInstance();
+ if (pControlManager)
+ {
+ _Window* pCurFrame = pControlManager->GetCurrentFrame();
+ if (pCurFrame)
+ {
+ int ownerRotate = GetWindowRotation(*pCurFrame);
+ if (ownerRotate != rotate)
+ {
+ return;
+ }
+ }
+ }
+ }
+
if (pWindow->IsLayoutChangable() == true)
{
_Popup* pPopup = dynamic_cast<_Popup*>(pWindow);
int rotate = ecore_evas_rotation_get(pEcoreEvas);
_Window* pWindow = const_cast<_Window*>(&window);
+
+ _ContextMenu* pContextMenu = dynamic_cast<_ContextMenu*>(pWindow);
+ if (pContextMenu)
+ {
+ // [Exception]
+ // ContextMenu
+ // Skip
+
+ _ControlManager* pControlManager = _ControlManager::GetInstance();
+ if (pControlManager)
+ {
+ _Window* pCurFrame = pControlManager->GetCurrentFrame();
+ if (pCurFrame)
+ {
+ int ownerRotate = GetWindowRotation(*pCurFrame);
+ if (ownerRotate != rotate)
+ {
+ return;
+ }
+ }
+ }
+ }
+
if (pWindow->IsLayoutChangable() == true)
{
_Popup* pPopup = dynamic_cast<_Popup*>(pWindow);