From kde-commits Wed Mar 10 19:28:59 2004 From: Paul Campbell Date: Wed, 10 Mar 2004 19:28:59 +0000 To: kde-commits Subject: kdeutils/klaptopdaemon Message-Id: <20040310192859.AB1EF99A2 () office ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=107894696421783 CVS commit by campbell: fix problem with recognising power button transitions M +2 -2 laptop_daemon.cpp 1.53 --- kdeutils/klaptopdaemon/laptop_daemon.cpp #1.52:1.53 @@ -983,5 +983,5 @@ laptop_daemon::ButtonThreadInternals() // the power button on the other hand is an off/on switch for non-suspend type ops // - if (power_state != laptop_portable::get_button(laptop_portable::LidButton)) { + if (power_state != laptop_portable::get_button(laptop_portable::PowerButton)) { power_state = !power_state; if (power_state) {