mirror of
https://github.com/debauchee/barrier.git
synced 2026-02-10 05:36:22 +08:00
reactivated fix for xlib. the fix apparently only broke things on very very old rhel installations.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user