diff options
| author | Mitchell Hashimoto <m@mitchellh.com> | 2025-01-14 19:20:12 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-14 19:20:12 -0800 |
| commit | ff9414d9ea7b16a375d41cde8f6f193de7e5db72 (patch) | |
| tree | fee509daaec6864ee0a10677023961851e00605d /src/shell-integration/bash | |
| parent | 331b7c754c892934a676f0cc7d6d3e4d290a95ba (diff) | |
| parent | 34abe2ceba9c42bed6737143a051701501ccd515 (diff) | |
fix(macos): prevent transparency leakage/flash in new/resized surfaces (#5083)
Fixes #4516
By using the `CAMetalLayer`'s `backgroundColor` property instead of
drawing the background color in our shader, it is always stretched to
cover the full surface, even when live-resizing, and it doesn't require
us to draw a frame for it to be initialized so there's no transparent
flash when a new surface is created (as in a new split/tab).
This commit also allows for hot reload of `background-opacity`,
`window-vsync`, and `window-colorspace`.
Diffstat (limited to 'src/shell-integration/bash')
0 files changed, 0 insertions, 0 deletions
