-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Description
I create a window and set it to full-screen via SDL_SetWindowFullscreen(window, SDL_WINDOW_FULLSCREEN), everything works fine.
However, when I call SDL_DestroyWindow(window) while the window is still in full-screen mode, it throws an error.
1 HIToolbox 0x00007ff822e17726 _ZN15MenuBarInstance22EnsureAutoShowObserverEv + 102
2 HIToolbox 0x00007ff822e172b8 _ZN15MenuBarInstance14EnableAutoShowEv + 52
3 HIToolbox 0x00007ff822d86cd7 _ZN15MenuBarInstance21UpdateAggregateUIModeE21MenuBarAnimationStylehhh + 1113
4 HIToolbox 0x00007ff822d8681f _ZN15MenuBarInstance16ForEachMenuBarDoEU13block_pointerFvPS_E + 169
5 HIToolbox 0x00007ff822d86762 SetSystemUIMode + 209
6 AppKit 0x00007ff81cc00f08 +[NSMenu setMenuBarVisible:] + 11
7 CoreFoundation 0x00007ff81944e3d4 CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER + 137
8 CoreFoundation 0x00007ff8194e841a ___CFXRegistrationPost_block_invoke + 88
9 CoreFoundation 0x00007ff8194e8369 _CFXRegistrationPost + 536
10 CoreFoundation 0x00007ff8194218f9 _CFXNotificationPost + 735
11 Foundation 0x00007ff81a25dabc -[NSNotificationCenter postNotificationName:object:userInfo:] + 82
12 AppKit 0x00007ff81c7443d1 -[NSWindow resignKeyWindow] + 758
13 AppKit 0x00007ff81cef2efe -[NSWindow _orderOut:calculatingKeyWithOptions:documentWindow:] + 319
14 AppKit 0x00007ff81c5f3302 NSPerformVisuallyAtomicChange + 132
15 AppKit 0x00007ff81cef4fa9 -[NSWindow _reallyDoOrderWindowOutRelativeTo:] + 634
16 AppKit 0x00007ff81cef53b4 -[NSWindow _reallyDoOrderWindow:] + 99
17 AppKit 0x00007ff81cef562a -[NSWindow _doOrderWindow:] + 295
18 libSDL3.0.dylib 0x000000010d4479a8 Cocoa_HideWindow + 133
19 libSDL3.0.dylib 0x000000010d3f5c2b SDL_HideWindow_REAL + 133
20 libSDL3.0.dylib 0x000000010d3f5233 SDL_DestroyWindow_REAL + 155