[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdeutils/klaptopdaemon
From:       Paul Campbell <paul () taniwha ! com>
Date:       2004-03-10 19:28:59
Message-ID: 20040310192859.AB1EF99A2 () office ! kde ! org
[Download RAW message or body]

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) {


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic