diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-11-14 16:55:35 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-11-14 18:37:50 +0300 |
commit | 13642a6cddd8657ec84a2bfa94c6ac7d34545dba (patch) | |
tree | cefec154fe5b6ec59990c4ef5cfe67eba4a484e6 /src/gui/gui.cpp | |
parent | eaaafe3312a361e332d495ee68451e424d90a19d (diff) | |
download | manaplus-13642a6cddd8657ec84a2bfa94c6ac7d34545dba.tar.gz manaplus-13642a6cddd8657ec84a2bfa94c6ac7d34545dba.tar.bz2 manaplus-13642a6cddd8657ec84a2bfa94c6ac7d34545dba.tar.xz manaplus-13642a6cddd8657ec84a2bfa94c6ac7d34545dba.zip |
Add support for on screen joystick for moving.
Diffstat (limited to 'src/gui/gui.cpp')
-rw-r--r-- | src/gui/gui.cpp | 3 |
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. |