_mouse warp wayland fix
This commit is contained in:
@@ -418,6 +418,7 @@ public:
|
||||
else
|
||||
{
|
||||
SDL_SetWindowMouseRect(windowHandle, oldScreenRect);
|
||||
SDL_WarpMouseInWindow(windowHandle, oldPosition.X, oldPosition.Y);
|
||||
oldScreenRect = nullptr;
|
||||
relativeModeWindow = nullptr;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user