mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-05 01:16:26 +00:00
Fixed warping back into the window when gaining focus with warp relative mode enabled
This commit is contained in:
@@ -866,7 +866,7 @@ SDL_GetGlobalMouseState(int *x, int *y)
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
void
|
||||
SDL_PerformWarpMouseInWindow(SDL_Window *window, int x, int y, SDL_bool ignore_relative_mode)
|
||||
{
|
||||
SDL_Mouse *mouse = SDL_GetMouse();
|
||||
|
Reference in New Issue
Block a user