From a4a08c3ce6856a248d381c1fd8c7b4a980472882 Mon Sep 17 00:00:00 2001 From: crs Date: Sun, 13 Apr 2003 17:13:27 +0000 Subject: [PATCH] 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. --- lib/platform/CXWindowsScreenSaver.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/platform/CXWindowsScreenSaver.cpp b/lib/platform/CXWindowsScreenSaver.cpp index 089499bf4..c652c3d9c 100644 --- a/lib/platform/CXWindowsScreenSaver.cpp +++ b/lib/platform/CXWindowsScreenSaver.cpp @@ -479,7 +479,4 @@ CXWindowsScreenSaver::disableCallback(void*) CXWindowsUtil::CErrorLock lock(m_display); XSendEvent(m_display, m_xscreensaver, False, 0, &event); } - - // force screen saver off and reset the timer - XForceScreenSaver(m_display, ScreenSaverReset); }