Moved comment to more relevant location.

This commit is contained in:
crs 2003-03-13 20:24:45 +00:00
parent a7bafcca2f
commit 635a2a7c5f
1 changed files with 2 additions and 2 deletions

View File

@ -196,8 +196,7 @@ CXWindowsScreenSaver::enable()
void void
CXWindowsScreenSaver::disable() CXWindowsScreenSaver::disable()
{ {
// for xscreensaver. 5 seconds should be plenty often to // for xscreensaver
// suppress the screen saver.
m_disabled = true; m_disabled = true;
updateDisableJob(); updateDisableJob();
@ -447,6 +446,7 @@ CXWindowsScreenSaver::updateDisableJob()
assert(m_disableJob != NULL); assert(m_disableJob != NULL);
if (m_disabled && !m_suppressDisable && !m_disableJobInstalled) { if (m_disabled && !m_suppressDisable && !m_disableJobInstalled) {
// 5 seconds should be plenty often to suppress the screen saver
m_disableJobInstalled = true; m_disableJobInstalled = true;
m_screen->addTimer(m_disableJob, 5.0); m_screen->addTimer(m_disableJob, 5.0);
} }