diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-07-25 20:39:03 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-07-25 20:39:03 +0300 |
commit | fe64e7204c8ab7b91f36c305cce9f82e92792cb9 (patch) | |
tree | 47ac13448093d099d205b370740dc7952354799a /src/gui/sdlinput.h | |
parent | 529335b0e534c86cb1e4d735d9f4ffd576da728b (diff) | |
download | manaverse-fe64e7204c8ab7b91f36c305cce9f82e92792cb9.tar.gz manaverse-fe64e7204c8ab7b91f36c305cce9f82e92792cb9.tar.bz2 manaverse-fe64e7204c8ab7b91f36c305cce9f82e92792cb9.tar.xz manaverse-fe64e7204c8ab7b91f36c305cce9f82e92792cb9.zip |
Update mouse cursor each 10 seconds if was no mouse move events.
Diffstat (limited to 'src/gui/sdlinput.h')
-rw-r--r-- | src/gui/sdlinput.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/sdlinput.h b/src/gui/sdlinput.h index d2b7847df..5910911ef 100644 --- a/src/gui/sdlinput.h +++ b/src/gui/sdlinput.h @@ -380,6 +380,7 @@ class SDLInput final std::queue<KeyInput> mKeyInputQueue; std::queue<MouseInput> mMouseInputQueue; + time_t mMouseMoveTime; bool mMouseDown; bool mMouseInWindow; |