From da0715c2648b662892a72e32e8528a08608d0d0b Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sat, 31 May 2008 09:02:50 +0000 Subject: chatbox accepts console commands --- src/client/input.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/client/input.cc') diff --git a/src/client/input.cc b/src/client/input.cc index 22db6bc..d594dbf 100644 --- a/src/client/input.cc +++ b/src/client/input.cc @@ -241,8 +241,10 @@ void frame(float seconds) //last_control = 0; console()->toggle(); + /* if (console()->visible() && chat::visible()) chat::toggle(); + */ } else if (console()->visible()) { // send key events to the console console()->keypressed(translate_keysym(event.key.keysym)); -- cgit v1.2.3