diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-09-14 01:42:33 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-09-14 01:42:33 +0300 |
commit | bb980aaf7a61f8d0fe03f7def03795d5f5d8d2a0 (patch) | |
tree | f9535b0203bca3080a43f5941551f7eb97b2fbf5 | |
parent | c08e3796fca9a682577b5848b253100883328cef (diff) | |
download | ManaVerse-bb980aaf7a61f8d0fe03f7def03795d5f5d8d2a0.tar.gz ManaVerse-bb980aaf7a61f8d0fe03f7def03795d5f5d8d2a0.tar.bz2 ManaVerse-bb980aaf7a61f8d0fe03f7def03795d5f5d8d2a0.tar.xz ManaVerse-bb980aaf7a61f8d0fe03f7def03795d5f5d8d2a0.zip |
Fix enable sys wm events logging.
-rw-r--r-- | src/progs/dyecmd/client.cpp | 2 | ||||
-rw-r--r-- | src/progs/manaplus/client.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/progs/dyecmd/client.cpp b/src/progs/dyecmd/client.cpp index b071eaf73..643ffdb30 100644 --- a/src/progs/dyecmd/client.cpp +++ b/src/progs/dyecmd/client.cpp @@ -244,6 +244,7 @@ void Client::gameInit() #endif // USE_SDL2 WindowManager::applyKeyRepeat(); + eventsManager.init(); eventsManager.enableEvents(); #ifdef WIN32 @@ -318,7 +319,6 @@ void Client::gameInit() popupManager = new PopupManager; initSoundManager(); - eventsManager.init(); // Initialize keyboard keyboard.init(); diff --git a/src/progs/manaplus/client.cpp b/src/progs/manaplus/client.cpp index 41afa2fe5..f9575e8e4 100644 --- a/src/progs/manaplus/client.cpp +++ b/src/progs/manaplus/client.cpp @@ -374,6 +374,7 @@ void Client::gameInit() #endif // USE_SDL2 WindowManager::applyKeyRepeat(); + eventsManager.init(); eventsManager.enableEvents(); #ifdef WIN32 @@ -454,7 +455,6 @@ void Client::gameInit() popupManager = new PopupManager; initSoundManager(); - eventsManager.init(); // Initialize keyboard keyboard.init(); |