Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 276469
Collapse All | Expand All

(-)a/idletimedetector.cpp (-1 / +1 lines)
Lines 47-53 void IdleTimeDetector::check() Link Here
47
    _mit_info = XScreenSaverAllocInfo ();
47
    _mit_info = XScreenSaverAllocInfo ();
48
    XScreenSaverQueryInfo(qt_xdisplay(), qt_xrootwin(), _mit_info);
48
    XScreenSaverQueryInfo(qt_xdisplay(), qt_xrootwin(), _mit_info);
49
    int idleSeconds = (_mit_info->idle/1000);
49
    int idleSeconds = (_mit_info->idle/1000);
50
    if (idleSeconds >= _maxIdle)
50
    if (idleSeconds >= _maxIdle*60) // _maxIdle is in minutes
51
      informOverrun(idleSeconds);
51
      informOverrun(idleSeconds);
52
  }
52
  }
53
#endif // HAVE_LIBXSS
53
#endif // HAVE_LIBXSS

Return to bug 276469