diff options
author | Christian Duerr <contact@christianduerr.com> | 2020-12-21 06:40:22 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-21 06:40:22 +0000 |
commit | 5725f5812ca5e8d7d992da4ac66aa454a8a9a9ad (patch) | |
tree | 9f15030007cb7a7f66c95640623f74e735754152 /Cargo.lock | |
parent | 6e1b9d8b2502f5b47dc28eb5e0853e46ad8b4e84 (diff) | |
download | alacritty-5725f5812ca5e8d7d992da4ac66aa454a8a9a9ad.tar.gz alacritty-5725f5812ca5e8d7d992da4ac66aa454a8a9a9ad.zip |
Fix artifacts on macOS with transparent windows
Due to the way macOS draws shadows for transparent windows, resizing
them will lead to text artifacts remaining present after a window has
been resized.
The `invalidateShadow` call is used whenever the opacity isn't `1.0` to
make sure these shadows are cleared before redrawing, so no artifacts
remain when resizing transparent windows.
Fixes #889.
Diffstat (limited to 'Cargo.lock')
-rw-r--r-- | Cargo.lock | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -29,6 +29,7 @@ dependencies = [ "alacritty_terminal", "bitflags", "clap", + "cocoa 0.24.0", "copypasta", "crossfont", "dirs", @@ -42,6 +43,7 @@ dependencies = [ "objc", "parking_lot", "png", + "raw-window-handle", "serde", "serde_json", "serde_yaml", |