Fix to move the window 65/183865/1
authorHeeyong Song <heeyong.song@samsung.com>
Thu, 12 Jul 2018 02:31:54 +0000 (11:31 +0900)
committerHeeyong Song <heeyong.song@samsung.com>
Thu, 12 Jul 2018 02:31:54 +0000 (11:31 +0900)
Change-Id: I0c78df5fa0c992fb8ea76fb67d28c066a9a41503

dali/internal/window-system/tizen-wayland/ecore-wl2/window-base-ecore-wl2.cpp

index bcb08cc..c1b4534 100755 (executable)
@@ -1348,7 +1348,7 @@ bool WindowBaseEcoreWl2::IsEglWindowRotationSupported()
 
 void WindowBaseEcoreWl2::Move( PositionSize positionSize )
 {
-  ecore_wl2_window_geometry_set( mEcoreWindow, positionSize.x, positionSize.y, positionSize.width, positionSize.height );
+  ecore_wl2_window_position_set( mEcoreWindow, positionSize.x, positionSize.y );
 }
 
 void WindowBaseEcoreWl2::Resize( PositionSize positionSize )
@@ -1358,6 +1358,7 @@ void WindowBaseEcoreWl2::Resize( PositionSize positionSize )
 
 void WindowBaseEcoreWl2::MoveResize( PositionSize positionSize )
 {
+  ecore_wl2_window_position_set( mEcoreWindow, positionSize.x, positionSize.y );
   ecore_wl2_window_geometry_set( mEcoreWindow, positionSize.x, positionSize.y, positionSize.width, positionSize.height );
 }