discomfitor pushed a commit to branch master.

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

commit 9701588cc8435fab462a27f08fc8013f8752e062
Author: Mike Blumenkrantz <[email protected]>
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 ab0134297..51eec2eeb 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