From 61421c9763617ab2e5cf6215256b0e61e0ec0418 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 17 Mar 2026 21:27:20 +0530 Subject: [PATCH] ... --- glfw/cocoa_window.m | 1 + 1 file changed, 1 insertion(+) diff --git a/glfw/cocoa_window.m b/glfw/cocoa_window.m index 8e5c3034b..1e8890d58 100644 --- a/glfw/cocoa_window.m +++ b/glfw/cocoa_window.m @@ -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];