Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions Sources/DefiMacOS/OverviewPanel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}

Expand Down
Loading