diff options
Diffstat (limited to 'src/eventsmanager.cpp')
-rw-r--r-- | src/eventsmanager.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/eventsmanager.cpp b/src/eventsmanager.cpp index 1ca458366..bf463a0c2 100644 --- a/src/eventsmanager.cpp +++ b/src/eventsmanager.cpp @@ -512,13 +512,14 @@ void EventsManager::logEvent(const SDL_Event &event) { #ifdef USE_X11 const bool res = X11Logger::logEvent(event); + if (res == false) + logger->assertLog("event: SDL_SYSWMEVENT: not supported:"); #else // USE_X11 const bool res = false; + logger->assertLog("event: SDL_SYSWMEVENT: not supported:"); #endif // USE_X11 - if (res == false) - logger->assertLog("event: SDL_SYSWMEVENT: not supported:"); break; } case SDL_USEREVENT: |