[widget-viewer-dali] Set WAYLAND_DISPLAY variable in WidgetViewManager
authorHeeyong Song <heeyong.song@samsung.com>
Wed, 4 May 2016 01:23:12 +0000 (10:23 +0900)
committerHeeyong Song <heeyong.song@samsung.com>
Wed, 4 May 2016 01:23:35 +0000 (10:23 +0900)
Change-Id: I6f393740b9a5c62e9347707cb80fb015a78052e0

internal/widget_view_manager/widget_view_manager_impl.cpp

index 2071f84..4896691 100644 (file)
@@ -107,6 +107,8 @@ int WidgetViewManager::Initialize( Application application, const std::string& n
 
   DALI_LOG_INFO( gWidgetViewManagerLogging, Debug::Verbose, "WidgetViewManager::Initialize: success.\n" );
 
+  setenv("WAYLAND_DISPLAY", mCompositor.GetName().c_str(), 1);
+
   return WIDGET_ERROR_NONE;
 }