From 18e69827aa91d749a7570a642d75fc9d6a187bc4 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Mon, 8 Nov 2021 22:29:02 -0800 Subject: [PATCH] Fixed Linux build --- src/video/x11/SDL_x11xfixes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video/x11/SDL_x11xfixes.c b/src/video/x11/SDL_x11xfixes.c index 40850dd69..3595b017d 100644 --- a/src/video/x11/SDL_x11xfixes.c +++ b/src/video/x11/SDL_x11xfixes.c @@ -76,7 +76,7 @@ X11_XfixesIsInitialized() void X11_SetWindowMouseRect(_THIS, SDL_Window * window) { - if (SDL_RectEmpty(window->mouse_rect)) { + if (SDL_RectEmpty(&window->mouse_rect)) { X11_ConfineCursorWithFlags(_this, window, NULL, 0); } else { if (window->flags & SDL_WINDOW_INPUT_FOCUS) {