summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/client.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp
index 3358287a1..ef4c2fd53 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -2866,6 +2866,9 @@ void Client::logEvent(const SDL_Event &event)
case SDL_USEREVENT:
logger->log("event: SDL_USEREVENT");
break;
+ case SDL_ACTIVEEVENT:
+ logger->log("event: SDL_ACTIVEEVENT: %d %d",
+ event.active.state, event.active.gain);
#ifdef ANDROID
case SDL_ACCELEROMETER:
logger->log("event: SDL_ACCELEROMETER");