diff options
Diffstat (limited to 'src/progs/dyecmd/client.cpp')
-rw-r--r-- | src/progs/dyecmd/client.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/progs/dyecmd/client.cpp b/src/progs/dyecmd/client.cpp index 8685cc024..a46227f08 100644 --- a/src/progs/dyecmd/client.cpp +++ b/src/progs/dyecmd/client.cpp @@ -243,14 +243,7 @@ void Client::gameInit() #endif // USE_SDL2 WindowManager::applyKeyRepeat(); - - // disable unused SDL events -#ifndef USE_SDL2 - SDL_EventState(SDL_VIDEOEXPOSE, SDL_IGNORE); -#endif // USE_SDL2 - - SDL_EventState(SDL_SYSWMEVENT, SDL_IGNORE); - SDL_EventState(SDL_USEREVENT, SDL_IGNORE); + eventsManager.enableEvents(); #ifdef WIN32 Dirs::extractDataDir(); |