diff --git a/src/sdl/i_video.c b/src/sdl/i_video.c index e7ac169ed4cc04e09e42a0b7a66780faad5251ac..4c80c389f15691dd5c103261c8f666a19010ea9a 100644 --- a/src/sdl/i_video.c +++ b/src/sdl/i_video.c @@ -1320,6 +1320,7 @@ static SDL_bool Impl_CreateWindow(SDL_bool fullscreen) } SDL_RaiseWindow(window); + SDL_SetRelativeMouseMode(SDL_TRUE); SDL_SetWindowGrab(window, SDL_TRUE); // Renderer-specific stuff