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 /alacritty/src/cli.rs | |
parent | 6e1b9d8b2502f5b47dc28eb5e0853e46ad8b4e84 (diff) | |
download | r-alacritty-5725f5812ca5e8d7d992da4ac66aa454a8a9a9ad.tar.gz r-alacritty-5725f5812ca5e8d7d992da4ac66aa454a8a9a9ad.tar.bz2 r-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 'alacritty/src/cli.rs')
0 files changed, 0 insertions, 0 deletions