Fixed Linux build

main
Sam Lantinga 2021-11-08 22:29:02 -08:00
parent 881f747d5c
commit 18e69827aa
1 changed files with 1 additions and 1 deletions

View File

@ -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) {