From f1e0b9af207a4965e49640689d92cfb3bd963fb0 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Thu, 29 Sep 2016 16:10:08 -0700 Subject: [PATCH] Added debug output for new window events --- src/test/SDL_test_common.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/test/SDL_test_common.c b/src/test/SDL_test_common.c index 8607cf929..1d0b005b5 100644 --- a/src/test/SDL_test_common.c +++ b/src/test/SDL_test_common.c @@ -1064,6 +1064,12 @@ SDLTest_PrintEvent(SDL_Event * event) case SDL_WINDOWEVENT_CLOSE: SDL_Log("SDL EVENT: Window %d closed", event->window.windowID); break; + case SDL_WINDOWEVENT_TAKE_FOCUS: + SDL_Log("SDL EVENT: Window %d take focus", event->window.windowID); + break; + case SDL_WINDOWEVENT_HIT_TEST: + SDL_Log("SDL EVENT: Window %d hit test", event->window.windowID); + break; default: SDL_Log("SDL EVENT: Window %d got unknown event %d", event->window.windowID, event->window.event);