mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 14:43:20 +00:00
You can't change the size of a window while in macOS fullscreen space
This commit is contained in:
parent
32747ceb84
commit
77290f9788
1 changed files with 2 additions and 1 deletions
|
|
@ -2643,7 +2643,8 @@ void Cocoa_SetWindowSize(SDL_VideoDevice *_this, SDL_Window *window)
|
|||
SDL_CocoaWindowData *windata = (__bridge SDL_CocoaWindowData *)window->internal;
|
||||
NSWindow *nswindow = windata.nswindow;
|
||||
|
||||
if ([windata.listener isInFullscreenSpaceTransition]) {
|
||||
if ([windata.listener isInFullscreenSpace] ||
|
||||
[windata.listener isInFullscreenSpaceTransition]) {
|
||||
windata.pending_size = YES;
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue