summaryrefslogtreecommitdiffstats
path: root/gui/gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--gui/gui.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/gui/gui.cpp b/gui/gui.cpp
index 17ed108fc..3f1312f46 100644
--- a/gui/gui.cpp
+++ b/gui/gui.cpp
@@ -205,7 +205,9 @@ bool InputHandler::processInput(int timeout_ms)
break;
}
- blankTimer.resetTimerAndUnblank();
+ if (ev.code != KEY_POWER && ev.code > KEY_RESERVED)
+ blankTimer.resetTimerAndUnblank();
+
return true; // we got an event, so there might be more in the queue
}