mirror of
https://github.com/debauchee/barrier.git
synced 2026-02-12 06:35:04 +08:00
checkpoint screensaver changes. now handling xscreensaver
dying and restarting or starting after synergy does. also now disabling the screen saver on the client. next step: win32 support.
This commit is contained in:
@@ -1284,6 +1284,12 @@ CServer::handshakeClient(void* vsocket)
|
||||
// now connected; client no longer subject to timeout.
|
||||
}
|
||||
|
||||
// activate screen saver on new client if active on the
|
||||
// primary screen
|
||||
if (m_primary->isScreenSaverActive()) {
|
||||
protocol->sendScreenSaver(true);
|
||||
}
|
||||
|
||||
// handle messages from client. returns when the client
|
||||
// disconnects.
|
||||
log((CLOG_NOTE "client \"%s\" has connected", name.c_str()));
|
||||
|
||||
Reference in New Issue
Block a user