diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2004-12-17 00:53:51 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2004-12-17 00:53:51 +0000 |
commit | 3e1403d3cb683cfb164e3cbd1fb39e86871b9e08 (patch) | |
tree | cd80b3cb091c4e95c818b2591932bdd79a8a1c4f /src/graphic | |
parent | f026360b3015ecefd8c1a200b2f3abe02fc8dd66 (diff) | |
download | mana-3e1403d3cb683cfb164e3cbd1fb39e86871b9e08.tar.gz mana-3e1403d3cb683cfb164e3cbd1fb39e86871b9e08.tar.bz2 mana-3e1403d3cb683cfb164e3cbd1fb39e86871b9e08.tar.xz mana-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.cpp | 3 |
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); |