Fix ghosting when using background_tint under GNOME+Wayland

The problem was that on Wayland if the buffer contains pixels with alpha
< 1 they are blended with something, even if the window is opaque. Under
mutter that something was the previous frame, under sway it was the
background/whatever is under the window.

So when blending the tint color, use a blend mode that results in opaque
pixels.

Fixes #5605
This commit is contained in:
Kovid Goyal
2022-10-19 19:00:06 +05:30
parent 28c616d3ff
commit 4f90110a7c
2 changed files with 5 additions and 2 deletions

View File

@@ -42,6 +42,8 @@ Detailed list of changes
- Wayland KDE: Fix abort when pasting into Firefox (:iss:`5603`)
- Wayland GNOME: Fix ghosting when using :opt:`background_tint` (:iss:`5605`)
0.26.4 [2022-10-17]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~