[Tizen] Force update for window rotation 65/224565/1
authorWonsik Jung <sidein@samsung.com>
Tue, 11 Feb 2020 12:38:33 +0000 (21:38 +0900)
committerWonsik Jung <sidein@samsung.com>
Tue, 11 Feb 2020 12:44:07 +0000 (21:44 +0900)
If window rotation event occurs, rotaiont ack should be commited to window server,
although the rotation event's angle is same with current.
This patch is for that.

Change-Id: I430885967bb4f213e3111f90d80cc4d7aafaa1d6

dali/internal/window-system/common/window-impl.cpp

index 65420f1..2010281 100644 (file)
@@ -776,13 +776,7 @@ void Window::OnRotation( const RotationEvent& rotation )
 
   mWindowSurface->RequestRotation( mRotationAngle, mWindowWidth, mWindowHeight );
 
-  bool forceUpdate = false;
-  if( mWindowBase->IsEglWindowRotationSupported() )
-  {
-    forceUpdate = true;
-  }
-
-  SurfaceResized( forceUpdate );
+  SurfaceResized( true  );
 
   mAdaptor->SurfaceResizePrepare( mSurface.get(), Adaptor::SurfaceSize( mWindowWidth, mWindowHeight ) );