diff --git a/window/src/os/macos/window.rs b/window/src/os/macos/window.rs index 9bc4dab91..cfbc19d64 100644 --- a/window/src/os/macos/window.rs +++ b/window/src/os/macos/window.rs @@ -405,7 +405,10 @@ impl Window { window.setReleasedWhenClosed_(NO); window.setOpaque_(NO); - // window.setHasShadow_(NO); + // Turn off the window shadow, because when the background is transparent + // having the shadow enabled seems to correlate with ghostly remnants + // see: https://github.com/wez/wezterm/issues/310 + window.setHasShadow_(NO); let ns_color: id = msg_send![Class::get("NSColor").unwrap(), alloc]; window.setBackgroundColor_(cocoa::appkit::NSColor::clearColor(ns_color));