Commit 18e69827aa91d749a7570a642d75fc9d6a187bc4

Sam Lantinga 2021-11-08T22:29:02

Fixed Linux build

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/video/x11/SDL_x11xfixes.c b/src/video/x11/SDL_x11xfixes.c
index 40850dd..3595b01 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) {