Moved comment to more relevant location.
This commit is contained in:
parent
a7bafcca2f
commit
635a2a7c5f
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue