break;
}
+ int x = 0;
+ int y = 0;
+ int w = 0;
+ int h = 0;
+ Eina_Bool ret = ecore_x_e_window_rotation_geometry_get(win, rotate, &x, &y, &w, &h);
+
evas_object_move(pWinObj, winX, winY);
- evas_object_resize(pWinObj, winBounds.width, winBounds.height);
- SysLog(NID_UI, "[Window Manager Rotation][Window : 0x%x, PARTIAL SCREEN] Rotate bounds(rot = %d, %d, %d, %d, %d).", win, orientation, winX, winY, winBounds.width, winBounds.height);
+ if (ret == EINA_FALSE)
+ {
+ evas_object_resize(pWinObj, winBounds.width, winBounds.height);
+ SysLog(NID_UI, "[Window Manager Rotation][Window : 0x%x, PARTIAL SCREEN] Rotate bounds(rot = %d, %d, %d, %d, %d).", win, orientation, winX, winY, winBounds.width, winBounds.height);
+ }
+ else
+ {
+ SysLog(NID_UI, "[Window Manager Rotation][Window : 0x%x, PARTIAL SCREEN] Rotate bounds(rot = %d, %d, %d) ONLY MOVE.", win, orientation, winX, winY);
+ }
}
}
break;
}
- evas_object_move(pWinObject, winX, winY);
- evas_object_resize(pWinObject, winBounds.width, winBounds.height);
+ int x = 0;
+ int y = 0;
+ int w = 0;
+ int h = 0;
+ Eina_Bool ret = ecore_x_e_window_rotation_geometry_get(win, rotate, &x, &y, &w, &h);
- SysLog(NID_UI, "[Window Manager Rotation][Window : 0x%x] Set bounds(rot = %d, %d, %d, %d, %d).", win, rotate, winX, winY, winBounds.width, winBounds.height);
+ evas_object_move(pWinObject, winX, winY);
+
+ if (ret == EINA_FALSE)
+ {
+ evas_object_resize(pWinObject, winBounds.width, winBounds.height);
+ SysLog(NID_UI, "[Window Manager Rotation][Window : 0x%x] Set bounds(rot = %d, %d, %d, %d, %d).", win, rotate, winX, winY, winBounds.width, winBounds.height);
+ }
+ else
+ {
+ SysLog(NID_UI, "[Window Manager Rotation][Window : 0x%x] Set bounds(rot = %d, %d, %d) ONLY MOVE.", win, rotate, winX, winY);
+ }
SetLastResult(E_SUCCESS);
}
break;
}
- evas_object_move(pWinObject, winX, winY);
- evas_object_resize(pWinObject, winBounds.width, winBounds.height);
+ int x = 0;
+ int y = 0;
+ int w = 0;
+ int h = 0;
+ Eina_Bool ret = ecore_x_e_window_rotation_geometry_get(win, rotate, &x, &y, &w, &h);
- SysLog(NID_UI, "[Window Manager Rotation][Window : 0x%x] Set bounds(rot = %d, %d, %d, %d, %d).", win, rotate, winX, winY, winBounds.width, winBounds.height);
+ evas_object_move(pWinObject, winX, winY);
+
+ if (ret == EINA_FALSE)
+ {
+ evas_object_resize(pWinObject, winBounds.width, winBounds.height);
+ SysLog(NID_UI, "[Window Manager Rotation][Window : 0x%x] Set bounds(rot = %d, %d, %d, %d, %d).", win, rotate, winX, winY, winBounds.width, winBounds.height);
+ }
+ else
+ {
+ SysLog(NID_UI, "[Window Manager Rotation][Window : 0x%x] Set bounds(rot = %d, %d, %d) ONLY MOVE.", win, rotate, winX, winY);
+ }
SetLastResult(E_SUCCESS);
}