This commit is contained in:
Kovid Goyal
2026-03-17 21:27:20 +05:30
parent 6360525a2a
commit 61421c9763

View File

@@ -3397,6 +3397,7 @@ _glfwUpdateNotchCover(_GLFWwindow* w) {
blue:(c & 0xFF) / 255.0
alpha:a].CGColor;
[bg_window.contentView addSubview:notchView];
// must be above otherwise shadow of main window is rendered over bg_window
[window addChildWindow:bg_window ordered:NSWindowAbove];
w->ns.notch_cover_window = bg_window;
[notchView release];