]> git.cworth.org Git - apitrace/commitdiff
Call XInitThreads.
authorJosé Fonseca <jose.r.fonseca@gmail.com>
Wed, 24 Oct 2012 12:34:48 +0000 (13:34 +0100)
committerJosé Fonseca <jose.r.fonseca@gmail.com>
Wed, 24 Oct 2012 12:34:48 +0000 (13:34 +0100)
retrace/glws_glx.cpp

index b6175304d29dd1ff8557027a8dab800d4f3373e0..1494d060d7245cae687637db7c5452cc6a6c2f2b 100644 (file)
@@ -238,6 +238,8 @@ public:
 
 void
 init(void) {
+    XInitThreads();
+
     display = XOpenDisplay(NULL);
     if (!display) {
         std::cerr << "error: unable to open display " << XDisplayName(NULL) << "\n";