From f2770ca47f7204d3e5ee15e2f434e250019c3970 Mon Sep 17 00:00:00 2001 From: Sung-Jin Park Date: Tue, 6 Sep 2016 10:42:45 +0900 Subject: [PATCH] ecore-drm : add ECORE_DRM_SKIP_LAUNCHER_CONNECT environment variable Add an environment variable to skip to connect to drm launcher. Except the desktop environment, it's not necessary to connect to drm launcher. If necessary, we can control whether to connect to drm launcher with this environment. Change-Id: I628f7fa5771bc72af03c4ea1564a762bcfe0a2f7 Signed-off-by: Sung-Jin Park --- src/modules/ecore_evas/engines/drm/ecore_evas_drm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c b/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c index 0b3d6b5..dd2fa32 100755 --- a/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c +++ b/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c @@ -565,7 +565,7 @@ _ecore_evas_drm_init(const char *device) goto dev_err; } - if (!ecore_drm_launcher_connect(dev)) + if (!getenv("ECORE_DRM_SKIP_LAUNCHER_CONNECT") && !ecore_drm_launcher_connect(dev)) { ERR("Could not connect DRM launcher"); goto launcher_err; -- 2.7.4