Skip to content

Commit edda367

Browse files
committed
Merge branch 'push-skqnqznmsqpr' of https://github.com/ethanwu10/kitty
2 parents 14a429c + 7589bf4 commit edda367

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

glfw/cocoa_window.m

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1950,12 +1950,7 @@ void _glfwPlatformDestroyWindow(_GLFWwindow* window)
19501950
window->ns.view = nil;
19511951

19521952
[window->ns.object removeGLFWWindow];
1953-
// Workaround for macOS Tahoe where if the frame is not set to zero size
1954-
// even after NSWindow::close the window remains on screen as an invisible
1955-
// rectangle that intercepts mouse events and takes up space in mission
1956-
// control. Sigh.
1957-
[window->ns.object setFrame:NSMakeRect(0, 0, 0, 0) display:NO];
1958-
[window->ns.object close]; // sends a release to the NSWindow so we dont release it here
1953+
[window->ns.object close];
19591954
window->ns.object = nil;
19601955
}
19611956

0 commit comments

Comments
 (0)