mirror of https://github.com/encounter/SDL.git
Fixed Linux build
This commit is contained in:
parent
881f747d5c
commit
18e69827aa
|
@ -76,7 +76,7 @@ X11_XfixesIsInitialized()
|
||||||
void
|
void
|
||||||
X11_SetWindowMouseRect(_THIS, SDL_Window * window)
|
X11_SetWindowMouseRect(_THIS, SDL_Window * window)
|
||||||
{
|
{
|
||||||
if (SDL_RectEmpty(window->mouse_rect)) {
|
if (SDL_RectEmpty(&window->mouse_rect)) {
|
||||||
X11_ConfineCursorWithFlags(_this, window, NULL, 0);
|
X11_ConfineCursorWithFlags(_this, window, NULL, 0);
|
||||||
} else {
|
} else {
|
||||||
if (window->flags & SDL_WINDOW_INPUT_FOCUS) {
|
if (window->flags & SDL_WINDOW_INPUT_FOCUS) {
|
||||||
|
|
Loading…
Reference in New Issue