From 3e1403d3cb683cfb164e3cbd1fb39e86871b9e08 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Fri, 17 Dec 2004 00:53:51 +0000 Subject: Focus that chat input field so that there is no need to click it. --- src/graphic/graphic.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/graphic') 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); -- cgit v1.2.3-70-g09d2