mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-15 13:04:38 +02:00
Fix shadow being drawn over notch area child window
This commit is contained in:
@@ -3397,7 +3397,7 @@ _glfwUpdateNotchCover(_GLFWwindow* w) {
|
||||
blue:(c & 0xFF) / 255.0
|
||||
alpha:a].CGColor;
|
||||
[bg_window.contentView addSubview:notchView];
|
||||
[window addChildWindow:bg_window ordered:NSWindowBelow];
|
||||
[window addChildWindow:bg_window ordered:NSWindowAbove];
|
||||
w->ns.notch_cover_window = bg_window;
|
||||
[notchView release];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user