add error messages when symbols fail to resolve in xwl init
ref T5258
This commit is contained in:
parent
c21c0d64eb
commit
9701588cc8
|
@ -289,8 +289,10 @@ xinit(void *d, Ecore_Thread *eth)
|
||||||
|
|
||||||
init_threads = dlsym(NULL, "XInitThreads");
|
init_threads = dlsym(NULL, "XInitThreads");
|
||||||
if (init_threads) init_threads();
|
if (init_threads) init_threads();
|
||||||
|
else ERR("Could not resolve XInitThreads");
|
||||||
open_display = dlsym(NULL, "XOpenDisplay");
|
open_display = dlsym(NULL, "XOpenDisplay");
|
||||||
if (open_display) disp = open_display(d);
|
if (open_display) disp = open_display(d);
|
||||||
|
else ERR("Could not resolve XOpenDisplay");
|
||||||
free(d);
|
free(d);
|
||||||
ecore_thread_feedback(eth, disp);
|
ecore_thread_feedback(eth, disp);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue