[Tizen] Fix Window-rotaion's bugs 43/217743/1
authorWonsik Jung <sidein@samsung.com>
Thu, 14 Nov 2019 03:38:06 +0000 (12:38 +0900)
committerWonsik Jung <sidein@samsung.com>
Thu, 14 Nov 2019 03:38:06 +0000 (12:38 +0900)
commit91ab9e93481668cbaddb53ec04b61872f2d0fa03
tree8b20d2599a9641d6045d02adb982ba34b2cc245b
parent1a4141f0dfb2b840dd149dbeaee46e93ff89ed84
[Tizen] Fix Window-rotaion's bugs

Fix Window-rotation's bugs
keep rotaton angle
  ecore_wl2_window_available_rotations_set's input value should be kept in DALi.
  Because ecore-wl2 does not keep the data as the below code.

  ecore_wl2_window_available_rotations_set(Ecore_Wl2_Window *window, const int *rots, unsigned int count)
  {
     ...
     window->wm_rot.available_rots = (int *)rots;
  }
It is temporary patch. When ecore-wl2 is fixed, it will be reverted.

Change-Id: Id4e898869d32f2bd9d6d1b94be4606cb12e56e36
dali/internal/window-system/tizen-wayland/ecore-wl/window-base-ecore-wl.cpp
dali/internal/window-system/tizen-wayland/ecore-wl/window-base-ecore-wl.h
dali/internal/window-system/tizen-wayland/ecore-wl2/window-base-ecore-wl2.cpp
dali/internal/window-system/tizen-wayland/ecore-wl2/window-base-ecore-wl2.h