render: only apply alpha when we’re using the default bg for background

In all other cases, alpha is disabled. This includes:

* Palette- or RGB-colors matching the default background color
* When any kind of reverse video is enabled (e.g. DECSCNM, or ANSI
  reverse)
This commit is contained in:
Daniel Eklöf 2021-05-01 20:17:54 +02:00
parent 107825ef29
commit b4c99f873f
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
2 changed files with 8 additions and 4 deletions

View file

@ -57,6 +57,8 @@
to launch (e.g. bad command line option) and -26/230 when the foot
server failed to instantiate a new window
(https://codeberg.org/dnkl/foot/issues/466).
* Background alpha no longer applied to palette or RGB colors that
matches the background color.
### Deprecated