discomfitor pushed a commit to branch enlightenment-0.20.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=be2221ed9542ac54bc27bee90a3d0ed051c2aca7

commit be2221ed9542ac54bc27bee90a3d0ed051c2aca7
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Mon Dec 7 09:25:49 2015 -0500

    Try to init (and error check the init) of ecore_wl2 library before we
    create a compositor
    
    ref T2919
    
    Signed-off-by: Chris Michael <cp.mich...@samsung.com>
---
 src/bin/e_comp_wl.c | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c
index de5eb6e..4fee9dc 100644
--- a/src/bin/e_comp_wl.c
+++ b/src/bin/e_comp_wl.c
@@ -2735,6 +2735,13 @@ _e_comp_wl_gl_init(void *d EINA_UNUSED)
 E_API Eina_Bool
 e_comp_wl_init(void)
 {
+   /* try to init ecore_wayland */
+   if (!ecore_wl2_init())
+     {
+        e_error_message_show(_("Enlightenment cannot initialize 
Ecore_Wl2!\n"));
+        return EINA_FALSE;
+     }
+
    /* set gl available if we have ecore_evas support */
    if (ecore_evas_engine_type_supported_get(ECORE_EVAS_ENGINE_WAYLAND_EGL) ||
        ecore_evas_engine_type_supported_get(ECORE_EVAS_ENGINE_OPENGL_DRM))
@@ -2747,13 +2754,6 @@ e_comp_wl_init(void)
         return EINA_FALSE;
      }
 
-   /* try to init ecore_wayland */
-   if (!ecore_wl2_init())
-     {
-        e_error_message_show(_("Enlightenment cannot initialize 
Ecore_Wl2!\n"));
-        return EINA_FALSE;
-     }
-
    /* create hash to store clients */
    /* clients_win_hash = eina_hash_int64_new(NULL); */
 

-- 


Reply via email to