SDL: Fixed Windows build

From 67c42cb44c01f85df89b2bb4450a0fc4a3e5f419 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Mon, 8 Nov 2021 22:16:01 -0800
Subject: [PATCH] Fixed Windows build

---
 src/video/windows/SDL_windowswindow.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/video/windows/SDL_windowswindow.c b/src/video/windows/SDL_windowswindow.c
index 7518a2ad80..ac774d79f8 100644
--- a/src/video/windows/SDL_windowswindow.c
+++ b/src/video/windows/SDL_windowswindow.c
@@ -1033,10 +1033,10 @@ WIN_UpdateClipCursor(SDL_Window *window)
                 if (window->mouse_rect.w > 0 && window->mouse_rect.h > 0) {
                     RECT mouse_rect, intersection;
 
-                    mouse_rect.left = rect.left + data->mouse_rect.x;
-                    mouse_rect.top = rect.top + data->mouse_rect.y;
-                    mouse_rect.right = mouse_rect.left + data->mouse_rect.w - 1;
-                    mouse_rect.bottom = mouse_rect.top + data->mouse_rect.h - 1;
+                    mouse_rect.left = rect.left + window->mouse_rect.x;
+                    mouse_rect.top = rect.top + window->mouse_rect.y;
+                    mouse_rect.right = mouse_rect.left + window->mouse_rect.w - 1;
+                    mouse_rect.bottom = mouse_rect.top + window->mouse_rect.h - 1;
                     if (IntersectRect(&intersection, &rect, &mouse_rect)) {
                         SDL_memcpy(&rect, &intersection, sizeof(rect));
                     } else if ((window->flags & SDL_WINDOW_MOUSE_GRABBED) != 0) {