Merge "Add GetNativeId() in Window" into devel/master
authorAdeel Kazmi <adeel.kazmi@samsung.com>
Tue, 19 May 2020 09:00:28 +0000 (09:00 +0000)
committerGerrit Code Review <gerrit@review>
Tue, 19 May 2020 09:00:28 +0000 (09:00 +0000)
1  2 
dali/internal/window-system/common/window-impl.cpp

index 5321782,69ba1d9..b21ca77
mode 100644,100755..100755
@@@ -99,6 -99,13 +99,6 @@@ Window::Window(
  
  Window::~Window()
  {
 -  mIsBeingDeleted = true;
 -
 -  while ( mAdaptor && mAdaptor->IsRenderingWindows() )
 -  {
 -    std::this_thread::yield(); // to allow other threads to run
 -  }
 -
    if ( mEventHandler )
    {
      mEventHandler->RemoveObserver( *this );
@@@ -910,6 -917,11 +910,11 @@@ void Window::SetAvailableOrientations( 
    SetAvailableAnlges( mAvailableAngles );
  }
  
+ int32_t Window::GetNativeId() const
+ {
+   return mWindowBase->GetNativeWindowId();
+ }
  } // Adaptor
  
  } // Internal