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