From 008a29a3fbcf282d1bed8ce4a9bdfb665defd943 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 7 Mar 2013 01:15:15 +0300 Subject: Add active event to input event logger. --- src/client.cpp | 3 +++ 1 file changed, 3 insertions(+) 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"); -- cgit v1.2.3-70-g09d2