mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-08 23:14:20 +08:00
Merge 1.4.1 r594:595 into trunk
This commit is contained in:
@@ -107,10 +107,11 @@ CXWindowsScreen::CXWindowsScreen(const char* displayName, bool isPrimary, int mo
|
||||
s_screen = this;
|
||||
|
||||
// initializes Xlib support for concurrent threads.
|
||||
if (XInitThreads() == 0)
|
||||
{
|
||||
throw XArch("XInitThreads() returned zero");
|
||||
}
|
||||
// ...which breaks badly on RHEL for some reason, upstream #194
|
||||
//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