summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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();