skypiax: added XInitThreads() to configs/client.c, now is kind of a reliable tool

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14125 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Giovanni Maruzzelli 2009-07-03 11:58:10 +00:00
parent ac208c8be3
commit 4d2a6927e5

View File

@ -216,6 +216,17 @@ int main(int argc, char *argv[])
else
dispname = ":0.0";
if (!XInitThreads()) {
printf("Not initialized XInitThreads!\n");
} else {
printf("Initialized XInitThreads!\n");
}
disp = XOpenDisplay(dispname);
if (!disp) {
printf("Cannot open X Display '%s', exiting\n", dispname);