Revert "Revert "Revert "[3.0] Add key grab/ungrab interfaces for Tizen (X11/Wayland)"""
[platform/core/uifw/dali-adaptor.git] / adaptors / wayland / window-impl-wl.cpp
index e6f3853..c3811f5 100644 (file)
@@ -67,13 +67,6 @@ struct Window::EventHandler
     mClientMessagehandler( NULL ),
     mEcoreWindow( 0 )
   {
-    // store ecore window handle
-    ECore::WindowRenderSurface* wlWindow( dynamic_cast< ECore::WindowRenderSurface * >( mWindow->mSurface ) );
-    if( wlWindow )
-    {
-      mEcoreWindow = wlWindow->GetWlWindow();
-    }
-    DALI_ASSERT_ALWAYS( mEcoreWindow != 0 && "There is no ecore wl window");
   }
 
   /**
@@ -199,9 +192,7 @@ Window::Window()
   mNextIndicatorOrientation(Dali::Window::PORTRAIT),
   mIndicatorOpacityMode(Dali::Window::OPAQUE),
   mOverlay(NULL),
-  mAdaptor(NULL),
-  mEventHandler(NULL),
-  mPreferredOrientation(Dali::Window::PORTRAIT)
+  mAdaptor(NULL)
 {
 }