[Tizen] Add ecore_wl2_window_commit() when setting minumum size and maximum size. 32/286432/1
authorjoogab.yun <joogab.yun@samsung.com>
Thu, 5 Jan 2023 09:04:26 +0000 (18:04 +0900)
committerjoogab.yun <joogab.yun@samsung.com>
Fri, 6 Jan 2023 01:33:11 +0000 (10:33 +0900)
Change-Id: Idf909972dcedcafda1123f9c3a16c0a1496d433d

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

index e3815d0..5a43606 100644 (file)
@@ -1880,6 +1880,7 @@ void WindowBaseEcoreWl2::SetMaximumSize(Dali::Window::WindowSize size)
 {
   DALI_LOG_RELEASE_INFO("ecore_wl2_window_maximum_size_set, width: %d, height: %d\n", size.GetWidth(), size.GetHeight());
   ecore_wl2_window_maximum_size_set(mEcoreWindow, size.GetWidth(), size.GetHeight());
+  ecore_wl2_window_commit(mEcoreWindow, EINA_TRUE);
 }
 
 void WindowBaseEcoreWl2::Minimize(bool minimize)
@@ -1896,6 +1897,7 @@ void WindowBaseEcoreWl2::SetMimimumSize(Dali::Window::WindowSize size)
 {
   DALI_LOG_RELEASE_INFO("ecore_wl2_window_minimum_size_set, width: %d, height: %d\n", size.GetWidth(), size.GetHeight());
   ecore_wl2_window_minimum_size_set(mEcoreWindow, size.GetWidth(), size.GetHeight());
+  ecore_wl2_window_commit(mEcoreWindow, EINA_TRUE);
 }
 
 void WindowBaseEcoreWl2::SetAvailableAnlges(const std::vector<int>& angles)