From: Seoyeon Kim Date: Tue, 8 Oct 2019 04:24:38 +0000 (+0900) Subject: Revert "[Tizen] Fix the incorrect size in OnRotation" X-Git-Tag: accepted/tizen/unified/20191010.032826~11 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a9d9d286570a50ec144b3ea3cb0ac507a4328a40;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git Revert "[Tizen] Fix the incorrect size in OnRotation" This reverts commit 83c7013db6be44a7c97e34ec54095aef437d9520. --- diff --git a/dali/internal/window-system/common/window-impl.cpp b/dali/internal/window-system/common/window-impl.cpp index fdb01bd..a5f7d0f 100644 --- a/dali/internal/window-system/common/window-impl.cpp +++ b/dali/internal/window-system/common/window-impl.cpp @@ -652,14 +652,14 @@ void Window::OnRotation( const RotationEvent& rotation ) SurfaceResized( forceUpdate ); - mAdaptor->SurfaceResizePrepare( mSurface.get(), Adaptor::SurfaceSize( mWindowWidth, mWindowHeight ) ); + mAdaptor->SurfaceResizePrepare( mSurface.get(), Adaptor::SurfaceSize( mRotationAngle, mWindowHeight ) ); // Emit signal Dali::Window handle( this ); - mResizedSignal.Emit( Dali::Window::WindowSize( mWindowWidth, mWindowHeight ) ); - mResizeSignal.Emit( handle, Dali::Window::WindowSize( mWindowWidth, mWindowHeight ) ); + mResizedSignal.Emit( Dali::Window::WindowSize( mRotationAngle, mWindowHeight ) ); + mResizeSignal.Emit( handle, Dali::Window::WindowSize( mRotationAngle, mWindowHeight ) ); - mAdaptor->SurfaceResizeComplete( mSurface.get(), Adaptor::SurfaceSize( mWindowWidth, mWindowHeight ) ); + mAdaptor->SurfaceResizeComplete( mSurface.get(), Adaptor::SurfaceSize( mRotationAngle, mWindowHeight ) ); } void Window::OnPause()