Also remove shadow from zero sized window

Hopefully that means no clickable region at all?
This commit is contained in:
Kovid Goyal
2025-11-12 14:01:37 +05:30
parent 98e13787a9
commit 35d95d7a43

View File

@@ -1969,6 +1969,7 @@ void _glfwPlatformDestroyWindow(_GLFWwindow* window)
// control. Sigh.
NSRect frame = w.frame; frame.size.width = 0; frame.size.height = 0;
[w setFrame:frame display:NO];
[w setHasShadow:NO];
[w close]; // sends a release to NSWindow so we dont release it
window->ns.object = nil;
}