From d79c0223315beaf55fcd10d6891675c4d57b5e2b Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Tue, 21 Oct 2008 19:00:39 +0000 Subject: moved client console into libui --- src/client/video.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client/video.cc') diff --git a/src/client/video.cc b/src/client/video.cc index 7649449..0fd702f 100644 --- a/src/client/video.cc +++ b/src/client/video.cc @@ -152,7 +152,7 @@ bool init() ui::root()->event_resize(); // to grab or not to grab - if (client()->console()->visible()) { + if (ui::console()->visible()) { SDL_WM_GrabInput(SDL_GRAB_OFF); SDL_ShowCursor(SDL_ENABLE); } else { -- cgit v1.2.3