mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-20 22:16:49 +01:00
Re-enable drag-and-drop events by default
This commit is contained in:
parent
fb485986eb
commit
f8b4cd410b
@ -417,8 +417,10 @@ SDL_StartEventLoop(void)
|
|||||||
SDL_EventState(SDL_TEXTINPUT, SDL_DISABLE);
|
SDL_EventState(SDL_TEXTINPUT, SDL_DISABLE);
|
||||||
SDL_EventState(SDL_TEXTEDITING, SDL_DISABLE);
|
SDL_EventState(SDL_TEXTEDITING, SDL_DISABLE);
|
||||||
SDL_EventState(SDL_SYSWMEVENT, 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_DROPFILE, SDL_DISABLE);
|
||||||
SDL_EventState(SDL_DROPTEXT, SDL_DISABLE);
|
SDL_EventState(SDL_DROPTEXT, SDL_DISABLE);
|
||||||
|
#endif
|
||||||
|
|
||||||
SDL_AtomicSet(&SDL_EventQ.active, 1);
|
SDL_AtomicSet(&SDL_EventQ.active, 1);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user