mirror of https://github.com/libsdl-org/SDL.git
Fixed the cursor clip rect when toggling window borders on macOS
This commit is contained in:
parent
c682599448
commit
ef23ebfb5a
|
|
@ -2781,6 +2781,7 @@ void Cocoa_SetWindowBordered(SDL_VideoDevice *_this, SDL_Window *window, bool bo
|
||||||
} else {
|
} else {
|
||||||
data.border_toggled = true;
|
data.border_toggled = true;
|
||||||
}
|
}
|
||||||
|
Cocoa_UpdateClipCursor(window);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue