From 07a54376952863ca90d97704c782690febb5b146 Mon Sep 17 00:00:00 2001 From: Choi Munseok Date: Mon, 10 Jun 2013 09:17:07 +0900 Subject: [PATCH] Removed unnecessary resizing a window Change-Id: I607fc1444d79f57f9a38047d145e2b65ec2d114d Signed-off-by: Choi Munseok --- src/ui/FUi_EcoreEvas.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/ui/FUi_EcoreEvas.cpp b/src/ui/FUi_EcoreEvas.cpp index 3fbf51b..72a5399 100644 --- a/src/ui/FUi_EcoreEvas.cpp +++ b/src/ui/FUi_EcoreEvas.cpp @@ -1368,20 +1368,20 @@ _EcoreEvas::RotateWindow(const _Window& window, int orientation, bool rotateEvas if (rotateEvas == true) { ecore_evas_rotation_with_resize_set(pEcoreEvas, orientation); - } - evas_object_move(pWinObj, 0, 0); + evas_object_move(pWinObj, 0, 0); - if ((orientation == 0) || (orientation == 180)) - { - evas_object_resize(pWinObj, rootW, rootH); - } - else - { - evas_object_resize(pWinObj, rootH, rootW); - } + if ((orientation == 0) || (orientation == 180)) + { + evas_object_resize(pWinObj, rootW, rootH); + } + else + { + evas_object_resize(pWinObj, rootH, rootW); + } - SysLog(NID_UI, "[Window Manager Rotation][Window : 0x%x, FULL SCREEN] Rotate bounds(rot = %d).", win, orientation); + SysLog(NID_UI, "[Window Manager Rotation][Window : 0x%x, FULL SCREEN] Rotate bounds(rot = %d).", win, orientation); + } } else { -- 2.7.4