void Application::StoreWindowPositionSize(PositionSize positionSize)
{
mWindowPositionSize = positionSize;
+ DALI_LOG_RELEASE_INFO("Application::StoreWindowPositionSize, (%d,%d)(%d x %d)\n", mWindowPositionSize.x, mWindowPositionSize.y, mWindowPositionSize.width, mWindowPositionSize.height);
+ if(mMainWindow)
+ {
+ if(mWindowPositionSize != PositionSize(0, 0, 0, 0))
+ {
+ Dali::Internal::Adaptor::Window& windowImpl = Dali::GetImplementation(mMainWindow);
+ windowImpl.SetUserGeometryPolicy();
+ }
+ }
}
void Application::StoreFrontBufferRendering(bool enable)
*/
WindowBlurInfo GetBlur() const;
+ /**
+ * @brief Sets user geometry flag when window's geometry is changed.
+ *
+ * Window is created with screen size or not.
+ * If window is created with screen size or the geometry is changed by user,
+ * client should inform to server setting user.geometry flag
+ */
+ void SetUserGeometryPolicy();
+
private:
/**
* @brief Enumeration for orietation mode.
*/
bool IsOrientationAvailable(WindowOrientation orientation) const;
- /**
- * @brief Sets user geometry flag when window's geometry is changed.
- *
- * Window is created with screen size or not.
- * If window is created with screen size or the geometry is changed by user,
- * client should inform to server setting user.geometry flag
- */
- void SetUserGeometryPolicy();
-
/**
* @brief Called when window insets are changed by appearing or disappearing indicator, virtual keyboard, or clipboard.
*