summaryrefslogtreecommitdiff
authorsandman <sandman>2002-08-04 02:52:49 (UTC)
committer sandman <sandman>2002-08-04 02:52:49 (UTC)
commit97cdd27f6f7696e4e6f1239c90ecc2b94c087239 (patch) (side-by-side diff)
tree68057ed5a0a9866addc62650218ec6856863173f
parenta8c65999503fa9ff34db3069c53bbc1685b521ec (diff)
downloadopie-97cdd27f6f7696e4e6f1239c90ecc2b94c087239.zip
opie-97cdd27f6f7696e4e6f1239c90ecc2b94c087239.tar.gz
opie-97cdd27f6f7696e4e6f1239c90ecc2b94c087239.tar.bz2
Another bug fix for suspend/resume on iPAQs (blinking screen).. this bug
is very hard to trigger and has probably never shown up
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/launcher/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/launcher/main.cpp b/core/launcher/main.cpp
index 1e741d5..3ee5e26 100644
--- a/core/launcher/main.cpp
+++ b/core/launcher/main.cpp
@@ -236,8 +236,10 @@ public:
case OMODEL_iPAQ_H37xx:
case OMODEL_iPAQ_H38xx: {
if ( keycode == Key_SysReq ) {
if ( isPress ) {
+ if ( m_power_timer )
+ killTimer ( m_power_timer );
m_power_timer = startTimer ( 500 );
}
else if ( m_power_timer ) {
killTimer ( m_power_timer );