From: Giovanni Maruzzelli Date: Fri, 3 Jul 2009 11:58:10 +0000 (+0000) Subject: skypiax: added XInitThreads() to configs/client.c, now is kind of a reliable tool X-Git-Tag: v1.0.4~249 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d2a6927e5c3849a4e489ecb4156b6132da1838d;p=thirdparty%2Ffreeswitch.git 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 --- diff --git a/src/mod/endpoints/mod_skypiax/configs/client.c b/src/mod/endpoints/mod_skypiax/configs/client.c index 019add20bf..3e14994fd3 100644 --- a/src/mod/endpoints/mod_skypiax/configs/client.c +++ b/src/mod/endpoints/mod_skypiax/configs/client.c @@ -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);