Fix work issue in wayland 66/38766/1
authortaeyoon <taeyoon0.lee@samsung.com>
Tue, 28 Apr 2015 07:55:16 +0000 (16:55 +0900)
committertaeyoon <taeyoon0.lee@samsung.com>
Tue, 28 Apr 2015 07:56:26 +0000 (16:56 +0900)
  - Add ecore_wl_init(), ecore_wl_display_get()

Change-Id: I41f79c7bf785ac1f67191f7f3db50bbd994cbc6f

adaptors/wayland/display-connection-impl-wl.cpp
adaptors/wayland/ecore-wl-render-surface.cpp

index 89d946c..e708842 100644 (file)
@@ -44,7 +44,7 @@ DisplayConnection* DisplayConnection::New()
 DisplayConnection::DisplayConnection()
 : mDisplay(NULL)
 {
-  //FIXME
+  mDisplay = ecore_wl_display_get();
 }
 
 DisplayConnection::~DisplayConnection()
index 7f20d65..d6f0516 100644 (file)
@@ -58,6 +58,7 @@ void EcoreWlRenderSurface::Init( Any surface )
   if ( surfaceId == 0 )
   {
     // we own the surface about to created
+    ecore_wl_init(NULL);
     mOwnSurface = true;
     CreateWlRenderable();
   }