{
window.ChangeLayout(GetOrientation());
pEcoreEvas->RotateWindow(window, ::Convert(__orientationStatus));
- window.SetRotation(::Convert(__orientationStatus));
- window.Invalidate(true);
+// window.SetRotation(::Convert(__orientationStatus));
+// window.Invalidate(true);
pEcoreEvas->SetWindowPreferredRotation(window, ::Convert(__orientationStatus));
}
return;
}
+ Rectangle winBounds = _CoordinateSystemUtils::Transform(bounds);
+
Ecore_X_Window win = (Ecore_X_Window) ecore_evas_window_get(pLayer->GetEcoreEvas());
- SysLog(NID_UI, "[Window Manager Rotation][Window : 0x%x] Set rotation bounds(rot = %d, %d, %d, %d, %d).", win, rotation, bounds.x, bounds.y, bounds.width, bounds.height);
- ecore_x_e_window_rotation_geometry_set(win, rotation, bounds.x, bounds.y, bounds.width, bounds.height);
+ SysLog(NID_UI, "[Window Manager Rotation][Window : 0x%x] Set rotation bounds(rot = %d, %d, %d, %d, %d).", win, rotation, winBounds.x, winBounds.y, winBounds.width, winBounds.height);
+ ecore_x_e_window_rotation_geometry_set(win, rotation, winBounds.x, winBounds.y, winBounds.width, winBounds.height);
}
#endif