From 669714c97e85c51af8158f9f5304a34e3bc6f8da Mon Sep 17 00:00:00 2001 From: taeyoon Date: Thu, 24 Nov 2016 16:42:58 +0900 Subject: [PATCH] [3.0] Add SurfaceSizeChanged before ReplaceSurface Change-Id: Idd77297fd836c0429f4c23ed2c8b05f629f8e235 --- adaptors/common/application-impl.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/adaptors/common/application-impl.cpp b/adaptors/common/application-impl.cpp index e43871f..c0cd9f2 100644 --- a/adaptors/common/application-impl.cpp +++ b/adaptors/common/application-impl.cpp @@ -341,6 +341,7 @@ void Application::ReplaceWindow(PositionSize windowPosition, const std::string& Dali::RenderSurface* renderSurface = windowImpl.GetSurface(); Any nativeWindow = newWindow.GetNativeHandle(); + Internal::Adaptor::Adaptor::GetImplementation( *mAdaptor ).SurfaceSizeChanged( windowPosition ); Internal::Adaptor::Adaptor::GetImplementation( *mAdaptor ).ReplaceSurface(nativeWindow, *renderSurface); mWindow = newWindow; } -- 2.7.4