mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-06 03:18:13 +00:00
Fixed Linux build
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user