summaryrefslogtreecommitdiff
path: root/src/engine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine.cpp')
-rw-r--r--src/engine.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine.cpp b/src/engine.cpp
index 0359e19f..1a60e6c3 100644
--- a/src/engine.cpp
+++ b/src/engine.cpp
@@ -184,8 +184,8 @@ Engine::Engine()
screen->w - 5 - chargeDialog->getWidth(),
screen->h - chargeDialog->getHeight() - 15);
- // Give focus to chat window
- chatWindow->requestFocus();
+ // Do not focus any text field
+ gui->focusNone();
// Load the sprite sets
ResourceManager *resman = ResourceManager::getInstance();