projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14ef59d
)
added some missing window events to debug output
author
Holger Schemel
<info@artsoft.org>
Wed, 7 Sep 2022 18:49:13 +0000
(20:49 +0200)
committer
Holger Schemel
<info@artsoft.org>
Wed, 7 Sep 2022 18:49:23 +0000
(20:49 +0200)
src/events.c
patch
|
blob
|
history
diff --git
a/src/events.c
b/src/events.c
index f73e48847f172907b7eaadae7134d812405f613b..c1c5e00d42994d454b4835ce82e36123fb13b360 100644
(file)
--- 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",