Re-enable drag-and-drop events by default
authorSam Lantinga <slouken@libsdl.org>
Sun, 30 Sep 2018 19:53:26 -0700
changeset 1226714426507701c
parent 12266 0a1710b7c321
child 12268 818dc37cace8
Re-enable drag-and-drop events by default
src/events/SDL_events.c
     1.1 --- a/src/events/SDL_events.c	Sun Sep 30 11:26:41 2018 -0300
     1.2 +++ b/src/events/SDL_events.c	Sun Sep 30 19:53:26 2018 -0700
     1.3 @@ -417,8 +417,10 @@
     1.4      SDL_EventState(SDL_TEXTINPUT, SDL_DISABLE);
     1.5      SDL_EventState(SDL_TEXTEDITING, SDL_DISABLE);
     1.6      SDL_EventState(SDL_SYSWMEVENT, SDL_DISABLE);
     1.7 +#if 0 /* Leave these events enabled so apps can respond to items being dragged onto them at startup */
     1.8      SDL_EventState(SDL_DROPFILE, SDL_DISABLE);
     1.9      SDL_EventState(SDL_DROPTEXT, SDL_DISABLE);
    1.10 +#endif
    1.11  
    1.12      SDL_AtomicSet(&SDL_EventQ.active, 1);
    1.13