Removed periodic call to XForceScreenSaver() to prevent the built-in
screen saver from activating. It was unnecessary since the built-in screen saver is disabled as appropriate; this call was just to ensure that the screen saver wouldn't start if an external program reactivated the screen saver after synergy disabled it. It's possible that this was causing screen flicker under gnome, though i don't know why. It's also possible that periodically sending events to xscreensaver is causing the flicker but removing that code is more difficult because xscreensaver can't be disabled, only deactivated or killed.
This commit is contained in:
parent
4521fe4990
commit
a4a08c3ce6
|
@ -479,7 +479,4 @@ CXWindowsScreenSaver::disableCallback(void*)
|
||||||
CXWindowsUtil::CErrorLock lock(m_display);
|
CXWindowsUtil::CErrorLock lock(m_display);
|
||||||
XSendEvent(m_display, m_xscreensaver, False, 0, &event);
|
XSendEvent(m_display, m_xscreensaver, False, 0, &event);
|
||||||
}
|
}
|
||||||
|
|
||||||
// force screen saver off and reset the timer
|
|
||||||
XForceScreenSaver(m_display, ScreenSaverReset);
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue