discomfitor pushed a commit to branch enlightenment-0.21.

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

commit d4849f792f8654434c6882181fbb7c23e9f06034
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Fri May 26 16:34:13 2017 -0400

    add error messages when symbols fail to resolve in xwl init
    
    ref T5258
---
 src/modules/xwayland/e_mod_main.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/modules/xwayland/e_mod_main.c 
b/src/modules/xwayland/e_mod_main.c
index 793f2e151..0be30bf50 100644
--- a/src/modules/xwayland/e_mod_main.c
+++ b/src/modules/xwayland/e_mod_main.c
@@ -289,8 +289,10 @@ xinit(void *d, Ecore_Thread *eth)
 
    init_threads = dlsym(NULL, "XInitThreads");
    if (init_threads) init_threads();
+   else ERR("Could not resolve XInitThreads");
    open_display = dlsym(NULL, "XOpenDisplay");
    if (open_display) disp = open_display(d);
+   else ERR("Could not resolve XOpenDisplay");
    free(d);
    ecore_thread_feedback(eth, disp);
 }

-- 


Reply via email to