Reply to Graphics artifact with transparent macOS window Calling [NSWindow invalidateShadow] will cause these artifacts to be cleared and shadows recomputed. UI Frameworks AppKit Mar ’23