diff --git a/Video.cc b/Video.cc index f576047..cfd8005 100644 --- a/Video.cc +++ b/Video.cc @@ -50,7 +50,7 @@ void Video::start(int width, int height, bool fullscreen, bool grab_input) SDL_ShowCursor(SDL_DISABLE); SDL_WM_GrabInput(SDL_GRAB_ON); } - m_inputGrabbed = true; + m_inputGrabbed = grab_input; m_fullscreen = fullscreen; glEnable(GL_DEPTH_TEST);