summaryrefslogtreecommitdiff
path: root/src/gui/gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/gui.cpp')
-rw-r--r--src/gui/gui.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp
index f0171ede4..8d26acea8 100644
--- a/src/gui/gui.cpp
+++ b/src/gui/gui.cpp
@@ -661,7 +661,10 @@ void Gui::handleMouseInput()
const gcn::MouseInput mouseInput = mInput->dequeueMouseInput();
if (touchManager.processEvent(mouseInput))
+ {
+ mMouseInactivityTimer = 0;
continue;
+ }
// Save the current mouse state. It will be needed if modal focus
// changes or modal mouse input focus changes.