Fixed Issue #14: Synergy client on windows will not bring up desktop after screen powersave

This commit is contained in:
sveith 2009-03-22 17:03:39 +00:00
parent ef7d5e4d08
commit 3580a29fd8
3 changed files with 36 additions and 0 deletions

View file

@ -263,6 +263,16 @@ CMSWindowsScreen::enter()
// all messages prior to now are invalid
nextMark();
} else {
// Entering a secondary screen. Ensure that no screensaver is active
// and that the screen is not in powersave mode.
CArchMiscWindows::wakeupDisplay();
if(m_screensaver != NULL && m_screensaverActive)
{
m_screensaver->deactivate();
m_screensaverActive = 0;
}
}
// now on screen