From 690609d057f6ae44d12cace9988341339cc1c46e Mon Sep 17 00:00:00 2001 From: Quentin Eude Date: Sun, 15 Nov 2026 18:31:11 +0100 Subject: [PATCH] fix(overview): keep the panel non-opaque so closing never flashes Turning the panel window opaque after the opening zoom and back at closing, while it is on screen, let one frame show the windows beneath. Over a native full-screen window that frame is the window itself, so the Overview blinked. --- Sources/DefiMacOS/OverviewPanel.swift | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Sources/DefiMacOS/OverviewPanel.swift b/Sources/DefiMacOS/OverviewPanel.swift index dd9a6e6e..42e0ae86 100644 --- a/Sources/DefiMacOS/OverviewPanel.swift +++ b/Sources/DefiMacOS/OverviewPanel.swift @@ -401,9 +401,8 @@ final class OverviewPanel { CATransaction.begin() CATransaction.setDisableActions(true) if rootView.layer?.mask === chromeMask.mask { rootView.layer?.mask = nil } - let hasWallpaper = usesCapturedDesktop && desktopView.layer?.contents != nil - window.isOpaque = hasWallpaper - window.backgroundColor = hasWallpaper ? .black : .clear + // The window stays non-opaque: turning it opaque and back while shown lets one frame + // show the windows beneath, seen at closing over a full-screen window. CATransaction.commit() }