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:
crs
2002-06-23 15:43:40 +00:00
parent 4d113aa235
commit a5391a0a1d
10 changed files with 560 additions and 82 deletions

View File

@@ -545,6 +545,13 @@ CXWindowsPrimaryScreen::isLockedToScreen() const
return false;
}
bool
CXWindowsPrimaryScreen::isScreenSaverActive() const
{
CDisplayLock display(this);
return getScreenSaver()->isActive();
}
void
CXWindowsPrimaryScreen::onOpenDisplay(Display* display)
{