mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-07 22:23:12 +08:00
fixed problem with opening client and server. in some cases it
would fail to open in such a way that it could never succeed but it'd never stop retrying. now terminating when open fails such that it'll never succeed.
This commit is contained in:
@@ -197,7 +197,7 @@ CXWindowsScreen::open()
|
||||
log((CLOG_DEBUG "XOpenDisplay(\"%s\")", display));
|
||||
m_display = XOpenDisplay(display);
|
||||
if (m_display == NULL) {
|
||||
throw XScreenOpenFailure();
|
||||
throw XScreenUnavailable(60.0);
|
||||
}
|
||||
|
||||
// get root window
|
||||
|
||||
Reference in New Issue
Block a user