summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-09-14 01:42:33 +0300
committerAndrei Karas <akaras@inbox.ru>2017-09-14 01:42:33 +0300
commitbb980aaf7a61f8d0fe03f7def03795d5f5d8d2a0 (patch)
treef9535b0203bca3080a43f5941551f7eb97b2fbf5
parentc08e3796fca9a682577b5848b253100883328cef (diff)
downloadplus-bb980aaf7a61f8d0fe03f7def03795d5f5d8d2a0.tar.gz
plus-bb980aaf7a61f8d0fe03f7def03795d5f5d8d2a0.tar.bz2
plus-bb980aaf7a61f8d0fe03f7def03795d5f5d8d2a0.tar.xz
plus-bb980aaf7a61f8d0fe03f7def03795d5f5d8d2a0.zip
Fix enable sys wm events logging.
-rw-r--r--src/progs/dyecmd/client.cpp2
-rw-r--r--src/progs/manaplus/client.cpp2
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();