diff --git a/src/app/input/app_input.c b/src/app/input/app_input.c index 357960b2..5830eda4 100644 --- a/src/app/input/app_input.c +++ b/src/app/input/app_input.c @@ -32,9 +32,9 @@ void app_input_deinit(app_input_t *input) { } void app_set_mouse_grab(app_input_t *input, bool grab) { -// if (!app_configuration->hardware_mouse) { -// SDL_SetRelativeMouseMode(grab && !app_configuration->absmouse ? SDL_TRUE : SDL_FALSE); -// } + if (!app_configuration->hardware_mouse) { + SDL_SetRelativeMouseMode(grab && !app_configuration->absmouse ? SDL_TRUE : SDL_FALSE); + } // SDL_ShowCursor(grab ? SDL_FALSE : SDL_TRUE); }