mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-07 14:14:10 +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:
@@ -545,6 +545,13 @@ CXWindowsPrimaryScreen::isLockedToScreen() const
|
||||
return false;
|
||||
}
|
||||
|
||||
bool
|
||||
CXWindowsPrimaryScreen::isScreenSaverActive() const
|
||||
{
|
||||
CDisplayLock display(this);
|
||||
return getScreenSaver()->isActive();
|
||||
}
|
||||
|
||||
void
|
||||
CXWindowsPrimaryScreen::onOpenDisplay(Display* display)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user