diff --git a/src/test/SDL_test_common.c b/src/test/SDL_test_common.c index 0a3360f816..25cf72c23c 100644 --- a/src/test/SDL_test_common.c +++ b/src/test/SDL_test_common.c @@ -1820,13 +1820,16 @@ static void SDLTest_PrintEvent(const SDL_Event *event) SDL_Log("SDL EVENT: App entered the foreground"); break; case SDL_EVENT_DROP_BEGIN: - SDL_Log("SDL EVENT: Drag and drop beginning"); + SDL_Log("SDL EVENT: Drag and drop beginning in window %" SDL_PRIu32 "", event->drop.windowID); + break; + case SDL_EVENT_DROP_POSITION: + SDL_Log("SDL EVENT: Drag and drop moving in window %" SDL_PRIu32 ": %g,%g", event->drop.windowID, event->drop.x, event->drop.y); break; case SDL_EVENT_DROP_FILE: - SDL_Log("SDL EVENT: Drag and drop file: '%s'", event->drop.data); + SDL_Log("SDL EVENT: Drag and drop file in window %" SDL_PRIu32 ": '%s'", event->drop.windowID, event->drop.data); break; case SDL_EVENT_DROP_TEXT: - SDL_Log("SDL EVENT: Drag and drop text: '%s'", event->drop.data); + SDL_Log("SDL EVENT: Drag and drop text in window %" SDL_PRIu32 ": '%s'", event->drop.windowID, event->drop.data); break; case SDL_EVENT_DROP_COMPLETE: SDL_Log("SDL EVENT: Drag and drop ending");