diff options
author | Christian Duerr <contact@christianduerr.com> | 2020-12-22 04:25:43 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-22 04:25:43 +0000 |
commit | f19cbca9b4c98a33b786bd971e3abae66bd16e26 (patch) | |
tree | 7fe9ebce9cc2354029eb5458fe4517a194fd94da /alacritty_terminal/src/term/mod.rs | |
parent | 8982000f01d5f476a995385253139b3555e2a5d0 (diff) | |
download | r-alacritty-f19cbca9b4c98a33b786bd971e3abae66bd16e26.tar.gz r-alacritty-f19cbca9b4c98a33b786bd971e3abae66bd16e26.tar.bz2 r-alacritty-f19cbca9b4c98a33b786bd971e3abae66bd16e26.zip |
Disable shadows for transparent windows on macOS
Commit 5725f58 introduced a performance regression on macOS due to
excessive calls to the `invalidateShadow` function, however calling this
function only on redraw after a resize was performed does not fix the
underlying problem.
As a solution, window shadows are now disabled completely for all
transparent windows. This makes sure there is no performance impact,
while still solving the problem with text artifacts on resize.
Fixes #4604.
Diffstat (limited to 'alacritty_terminal/src/term/mod.rs')
0 files changed, 0 insertions, 0 deletions