From f8b4cd410bf616083757d1221207434194e11dc8 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sun, 30 Sep 2018 19:53:26 -0700 Subject: [PATCH] Re-enable drag-and-drop events by default --- src/events/SDL_events.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/events/SDL_events.c b/src/events/SDL_events.c index da6d73b52..25e8ac49c 100644 --- a/src/events/SDL_events.c +++ b/src/events/SDL_events.c @@ -417,8 +417,10 @@ SDL_StartEventLoop(void) SDL_EventState(SDL_TEXTINPUT, SDL_DISABLE); SDL_EventState(SDL_TEXTEDITING, SDL_DISABLE); SDL_EventState(SDL_SYSWMEVENT, SDL_DISABLE); +#if 0 /* Leave these events enabled so apps can respond to items being dragged onto them at startup */ SDL_EventState(SDL_DROPFILE, SDL_DISABLE); SDL_EventState(SDL_DROPTEXT, SDL_DISABLE); +#endif SDL_AtomicSet(&SDL_EventQ.active, 1);