Fix Rotation
authorChoi Munseok <ms47.choi@samsung.com>
Sat, 6 Apr 2013 04:07:55 +0000 (13:07 +0900)
committerChoi Munseok <ms47.choi@samsung.com>
Sat, 6 Apr 2013 04:07:55 +0000 (13:07 +0900)
Change-Id: Id9fb04e04852fefd7248c53b5f7c729ce54742e8
Signed-off-by: Choi Munseok <ms47.choi@samsung.com>
src/ui/FUi_ControlManager.cpp

index 1a04b30..015c1af 100644 (file)
@@ -556,9 +556,16 @@ _ControlManager::ActivateWindow(_Window& window)
                        pEcoreEvas->RotateWindow(window, ::Convert(__orientationStatus));
                }
 #else
+               // Rotate partial window without Window State Changed Callback.
+
                _EcoreEvas* pEcoreEvas = ::GetEcoreEvasMgr()->GetEcoreEvas();
                if (pEcoreEvas)
                {
+                       window.ChangeLayout(GetOrientation());
+                       pEcoreEvas->RotateWindow(window, ::Convert(__orientationStatus));
+                       window.SetRotation(::Convert(__orientationStatus));
+                       window.Invalidate(true);
+
                        pEcoreEvas->SetWindowPreferredRotation(window, ::Convert(__orientationStatus));
                }
 #endif