Change-Id: Id69b8d7409acc099c53ed98ac8cfaef82aada8b6
Signed-off-by: Choi Munseok <ms47.choi@samsung.com>
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