From: taeyoon Date: Thu, 24 Nov 2016 07:42:58 +0000 (+0900) Subject: [3.0] Add SurfaceSizeChanged before ReplaceSurface X-Git-Tag: accepted/tizen/3.0/common/20161207.195829~1^2 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git;a=commitdiff_plain;h=669714c97e85c51af8158f9f5304a34e3bc6f8da [3.0] Add SurfaceSizeChanged before ReplaceSurface Change-Id: Idd77297fd836c0429f4c23ed2c8b05f629f8e235 --- 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; }