reactivated fix for xlib. the fix apparently only broke things on very very old rhel installations.
This commit is contained in:
parent
b07d4c7747
commit
cd7249d41d
|
@ -111,11 +111,10 @@ CXWindowsScreen::CXWindowsScreen(const char* displayName, bool isPrimary, int mo
|
|||
s_screen = this;
|
||||
|
||||
// initializes Xlib support for concurrent threads.
|
||||
// ...which breaks badly on RHEL for some reason, upstream #194
|
||||
//if (XInitThreads() == 0)
|
||||
//{
|
||||
// throw XArch("XInitThreads() returned zero");
|
||||
//}
|
||||
if (XInitThreads() == 0)
|
||||
{
|
||||
throw XArch("XInitThreads() returned zero");
|
||||
}
|
||||
|
||||
|
||||
// set the X I/O error handler so we catch the display disconnecting
|
||||
|
|
Loading…
Reference in New Issue