mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-16 11:06:49 +01:00
Mac: Make sure window is still showing when we exit a fullscreen space.
This commit is contained in:
parent
f25ee50b03
commit
c663d731f1
@ -612,6 +612,8 @@ SetWindowStyle(SDL_Window * window, unsigned int style)
|
|||||||
window->w = 0;
|
window->w = 0;
|
||||||
window->h = 0;
|
window->h = 0;
|
||||||
[self windowDidResize:aNotification];
|
[self windowDidResize:aNotification];
|
||||||
|
|
||||||
|
Cocoa_ShowWindow(SDL_GetVideoDevice(), window);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user