Changed to get prefer ROT
authorChoi Munseok <ms47.choi@samsung.com>
Sat, 13 Jul 2013 10:28:33 +0000 (19:28 +0900)
committerChoi Munseok <ms47.choi@samsung.com>
Sat, 13 Jul 2013 10:28:33 +0000 (19:28 +0900)
Change-Id: Id69b8d7409acc099c53ed98ac8cfaef82aada8b6
Signed-off-by: Choi Munseok <ms47.choi@samsung.com>
src/ui/FUi_EcoreEvas.cpp

index e3dd0b8..2f69919 100644 (file)
@@ -2584,7 +2584,9 @@ _EcoreEvas::SetOwner(const _Window& ownee, const _Control& owner)
                bool preferredRoation = pOwnerWindow->GetPreferredRotation();
                if (preferredRoation == true)
                {
-                       int preferredRotation = ecore_evas_wm_rotation_preferred_rotation_get(pOwnerLayer->GetEcoreEvas());
+                       //int preferredRotation = ecore_evas_wm_rotation_preferred_rotation_get(pOwnerLayer->GetEcoreEvas());
+                       int preferredRotation = 0;
+                       ecore_x_e_window_rotation_preferred_rotation_get(ownerWin, &preferredRotation);
                        SetWindowPreferredRotation(ownee, preferredRotation);
                }
                else