summaryrefslogtreecommitdiff
path: root/src/gui/sdlinput.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-07-25 20:39:03 +0300
committerAndrei Karas <akaras@inbox.ru>2017-07-25 20:39:03 +0300
commitfe64e7204c8ab7b91f36c305cce9f82e92792cb9 (patch)
tree47ac13448093d099d205b370740dc7952354799a /src/gui/sdlinput.h
parent529335b0e534c86cb1e4d735d9f4ffd576da728b (diff)
downloadmv-fe64e7204c8ab7b91f36c305cce9f82e92792cb9.tar.gz
mv-fe64e7204c8ab7b91f36c305cce9f82e92792cb9.tar.bz2
mv-fe64e7204c8ab7b91f36c305cce9f82e92792cb9.tar.xz
mv-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.h1
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;