CVS commit by campbell: change the way the laptop daemon detects when the console is idle (this fixes bug #35827, and also removes the need for a portability-layer detection of kbd/mouse idle). Here we've borrowed the same core stuff that the KDE screensaver lock engine uses (the laptop stuff was written back when KDE used the X stuff that didn't play well with others). It's been enhanced to also optionally take notice of the system LAV so you can set your laptop up to NOT suspend if you're doing one of those long KDE builds A xautolock.cc 1.1 A xautolock.h 1.1 M +1 -1 Makefile.am 1.27 M +186 -74 laptop_daemon.cpp 1.39 M +22 -6 laptop_daemon.h 1.23 M +55 -70 portable.cpp 1.52 [POSSIBLY UNSAFE: system] M +2 -1 portable.h 1.14 M +78 -6 power.cpp 1.21 M +7 -0 power.h 1.9