Skip to content

Commit

Permalink
Re-enable drag-and-drop events by default
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Oct 1, 2018
1 parent fb48598 commit f8b4cd4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/events/SDL_events.c
Expand Up @@ -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);

Expand Down

0 comments on commit f8b4cd4

Please sign in to comment.