Ecore_X_Window win = (Ecore_X_Window)pFrame->GetNativeHandle();
Dimension screenSize = pControlManager->GetScreenSize();
-// _PARTIAL_SCREEN_
-#if 0
+#if 0 // Partial Screen
if (win != targetWin)
{
return ECORE_CALLBACK_PASS_ON;
pFrame->SetPartialScreenEnabled(true);
}
}
+ else if (pFrame->GetShowMode() == FRAME_SHOW_MODE_PARTIAL_SCREEN)
+ {
+ Dimension winSize = _CoordinateSystemUtils::InverseTransform(Dimension(pE->w, pE->h));
+ if (winSize == screenSize)
+ {
+ pFrame->SetPartialScreenEnabled(false);
+ }
+ }
#else
if ((pFrame->GetShowMode() == FRAME_SHOW_MODE_FULL_SCREEN) || (win != targetWin))
{
pFrame->SetChangedPositionByUser(isChanged);
pFrame->SetChangingBoundsEnabled(true);
-// _PARTIAL_SCREEN_
-#if 0
+#if 0 // Partial Screen
Rectangle frameBounds = pFrame->GetBounds();
Rectangle frameClientBounds = pFrame->GetClientBounds();
Rectangle frameAbsoluteBounds = pFrame->GetAbsoluteBounds();
pFormImpl->UpdateOrientation();
}
-// _PARTIAL_SCREEN_
-#if 0
+#if 0 // Partial Screen
Rectangle frameBounds = GetBounds();
Rectangle frameClientBounds = GetClientBounds();
Rectangle frameAbsoluteBounds = GetAbsoluteBounds();