Restore the window property
authorChoi Munseok <ms47.choi@samsung.com>
Mon, 27 May 2013 07:28:50 +0000 (16:28 +0900)
committerChoi Munseok <ms47.choi@samsung.com>
Mon, 27 May 2013 07:28:50 +0000 (16:28 +0900)
Change-Id: I10eb94c03fa4940611db5059b438eaf787a5f411
Signed-off-by: Choi Munseok <ms47.choi@samsung.com>
src/ui/controls/FUiCtrl_Frame.cpp

index 8421c4e..3c9c5df 100644 (file)
@@ -750,16 +750,16 @@ _Frame::OnBackgroundColorChanged(Color& backgroundColor)
        switch (mode)
        {
        case ORIENTATION_PORTRAIT:
-               pEcoreEvas->SetWindowPreferredRotation(*this, 0);
+               pEcoreEvas->SetWindowPreferredRotation(*this, 0, true);
                break;
        case ORIENTATION_LANDSCAPE:
-               pEcoreEvas->SetWindowPreferredRotation(*this, 270);
+               pEcoreEvas->SetWindowPreferredRotation(*this, 270, true);
                break;
        case ORIENTATION_PORTRAIT_REVERSE:
-               pEcoreEvas->SetWindowPreferredRotation(*this, 180);
+               pEcoreEvas->SetWindowPreferredRotation(*this, 180, true);
                break;
        case ORIENTATION_LANDSCAPE_REVERSE:
-               pEcoreEvas->SetWindowPreferredRotation(*this, 90);
+               pEcoreEvas->SetWindowPreferredRotation(*this, 90, true);
                break;
        case ORIENTATION_AUTOMATIC:
                {