Merge "[3.0] Add SurfaceSizeChanged before ReplaceSurface" into tizen_3.0
authortaeyoon <taeyoon0.lee@samsung.com>
Wed, 7 Dec 2016 03:57:13 +0000 (19:57 -0800)
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>
Wed, 7 Dec 2016 03:57:13 +0000 (19:57 -0800)
adaptors/common/application-impl.cpp

index dece482..db48c41 100644 (file)
@@ -369,6 +369,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;
 }