mirror of
https://github.com/debauchee/barrier.git
synced 2025-07-24 03:48:26 +02:00
Fixed Issue #14: Synergy client on windows will not bring up desktop after screen powersave
This commit is contained in:
parent
ef7d5e4d08
commit
3580a29fd8
3 changed files with 36 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue