mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-02 11:19:28 +00:00
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
|
else
|
||||||
dispname = ":0.0";
|
dispname = ":0.0";
|
||||||
|
|
||||||
|
|
||||||
|
if (!XInitThreads()) {
|
||||||
|
printf("Not initialized XInitThreads!\n");
|
||||||
|
} else {
|
||||||
|
printf("Initialized XInitThreads!\n");
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
disp = XOpenDisplay(dispname);
|
disp = XOpenDisplay(dispname);
|
||||||
if (!disp) {
|
if (!disp) {
|
||||||
printf("Cannot open X Display '%s', exiting\n", dispname);
|
printf("Cannot open X Display '%s', exiting\n", dispname);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user