summaryrefslogtreecommitdiff
path: root/Cargo.lock
diff options
context:
space:
mode:
authorChristian Duerr <contact@christianduerr.com>2020-12-21 06:40:22 +0000
committerGitHub <noreply@github.com>2020-12-21 06:40:22 +0000
commit5725f5812ca5e8d7d992da4ac66aa454a8a9a9ad (patch)
tree9f15030007cb7a7f66c95640623f74e735754152 /Cargo.lock
parent6e1b9d8b2502f5b47dc28eb5e0853e46ad8b4e84 (diff)
downloadalacritty-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.lock2
1 files changed, 2 insertions, 0 deletions
diff --git a/Cargo.lock b/Cargo.lock
index f3aa5acd..f9b53890 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -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",