From: Holger Schemel Date: Wed, 7 Sep 2022 18:49:13 +0000 (+0200) Subject: added some missing window events to debug output X-Git-Tag: 4.3.3.0~61 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=82514140084028004046e95c2aaddaecd839fc30;p=rocksndiamonds.git added some missing window events to debug output --- diff --git a/src/events.c b/src/events.c index f73e4884..c1c5e00d 100644 --- a/src/events.c +++ b/src/events.c @@ -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",