added some missing window events to debug output
authorHolger Schemel <info@artsoft.org>
Wed, 7 Sep 2022 18:49:13 +0000 (20:49 +0200)
committerHolger Schemel <info@artsoft.org>
Wed, 7 Sep 2022 18:49:23 +0000 (20:49 +0200)
src/events.c

index f73e48847f172907b7eaadae7134d812405f613b..c1c5e00d42994d454b4835ce82e36123fb13b360 100644 (file)
@@ -620,6 +620,8 @@ void HandleWindowEvent(WindowEvent *event)
      subtype == SDL_WINDOWEVENT_FOCUS_GAINED ? "SDL_WINDOWEVENT_FOCUS_GAINED" :
      subtype == SDL_WINDOWEVENT_FOCUS_LOST ? "SDL_WINDOWEVENT_FOCUS_LOST" :
      subtype == SDL_WINDOWEVENT_CLOSE ? "SDL_WINDOWEVENT_CLOSE" :
+     subtype == SDL_WINDOWEVENT_TAKE_FOCUS ? "SDL_WINDOWEVENT_TAKE_FOCUS" :
+     subtype == SDL_WINDOWEVENT_HIT_TEST ? "SDL_WINDOWEVENT_HIT_TEST" :
      "(UNKNOWN)");
 
   Debug("event:window", "name: '%s', data1: %ld, data2: %ld",