summaryrefslogtreecommitdiff
path: root/src/graphic
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2004-12-17 00:53:51 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2004-12-17 00:53:51 +0000
commit3e1403d3cb683cfb164e3cbd1fb39e86871b9e08 (patch)
treecd80b3cb091c4e95c818b2591932bdd79a8a1c4f /src/graphic
parentf026360b3015ecefd8c1a200b2f3abe02fc8dd66 (diff)
downloadmana-client-3e1403d3cb683cfb164e3cbd1fb39e86871b9e08.tar.gz
mana-client-3e1403d3cb683cfb164e3cbd1fb39e86871b9e08.tar.bz2
mana-client-3e1403d3cb683cfb164e3cbd1fb39e86871b9e08.tar.xz
mana-client-3e1403d3cb683cfb164e3cbd1fb39e86871b9e08.zip
Focus that chat input field so that there is no need to click it.
Diffstat (limited to 'src/graphic')
-rw-r--r--src/graphic/graphic.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/graphic/graphic.cpp b/src/graphic/graphic.cpp
index 50b1083c..6bdcf9ba 100644
--- a/src/graphic/graphic.cpp
+++ b/src/graphic/graphic.cpp
@@ -231,6 +231,9 @@ void init_graphic() {
guiTop->add(chatInput);
+ chatInput->requestFocus();
+
+
npc_player = init_dialog(npc_dialog, -1);
position_dialog(npc_dialog, 300, 200);
skill_player = init_dialog(skill_dialog, -1);