Revert "Showing window after adaptor is initialized" 54/254954/1
authorhuiyu.eun <huiyu.eun@samsung.com>
Thu, 11 Mar 2021 03:19:43 +0000 (12:19 +0900)
committerhuiyu.eun <huiyu.eun@samsung.com>
Thu, 11 Mar 2021 03:19:46 +0000 (12:19 +0900)
This reverts commit bbe15fee510fa94a179284bdc8151379e9ba2abf.

Change-Id: Icae83982fdf5fcdd80ec42c7bd7d9e1250126c21

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

index 03fec2f..f3a74fe 100644 (file)
@@ -143,6 +143,8 @@ void Window::Initialize(Any surface, const PositionSize& positionSize, const std
 
   SetClass(name, className);
 
+  mWindowSurface->Map();
+
   mOrientation = Orientation::New(this);
 
   // Get OrientationMode
@@ -170,8 +172,7 @@ void Window::OnAdaptorSet(Dali::Adaptor& adaptor)
   auto accessible = Accessibility::Accessible::Get(v, true);
   bridge->AddTopLevelWindow(accessible);
 
-  // If you call the 'Show' before creating the adaptor, the application cannot know the app resource id.
-  // The show must be called after the adaptor is initialized.
+  //FIXME: line below is temporary solution for missing "activate" signal and should be removed
   Show();
 }