reactivated fix for xlib. the fix apparently only broke things on very very old rhel installations.

This commit is contained in:
syed.amer@gilani.eu 2011-01-04 19:01:24 +00:00
parent b07d4c7747
commit cd7249d41d
1 changed files with 4 additions and 5 deletions

View File

@ -111,11 +111,10 @@ CXWindowsScreen::CXWindowsScreen(const char* displayName, bool isPrimary, int mo
s_screen = this; s_screen = this;
// initializes Xlib support for concurrent threads. // initializes Xlib support for concurrent threads.
// ...which breaks badly on RHEL for some reason, upstream #194 if (XInitThreads() == 0)
//if (XInitThreads() == 0) {
//{ throw XArch("XInitThreads() returned zero");
// throw XArch("XInitThreads() returned zero"); }
//}
// set the X I/O error handler so we catch the display disconnecting // set the X I/O error handler so we catch the display disconnecting