forked from Mirrors/freeswitch
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:
parent
ac208c8be3
commit
4d2a6927e5
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user