diff options
Diffstat (limited to 'src/gui/login.cpp')
-rw-r--r-- | src/gui/login.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/login.cpp b/src/gui/login.cpp index 5496c01b..d0cfa899 100644 --- a/src/gui/login.cpp +++ b/src/gui/login.cpp @@ -147,6 +147,12 @@ void login() { state = EXIT; } break; + + case SDL_MOUSEMOTION: + // Update the known mouse position + mouseX = event.motion.x; + mouseY = event.motion.y; + break; } guiInput->pushInput(event); |