protocols: fix alpha-modifier noncompliance (#8929)
Also fixes small issues with hyprland-surface opacity < 1.0 while surface alpha = 1.0.
This commit is contained in:
parent
cbd2451570
commit
42fd366046
4 changed files with 90 additions and 83 deletions
|
|
@ -84,7 +84,7 @@ class CWLSurface {
|
|||
static SP<CWLSurface> fromResource(SP<CWLSurfaceResource> pSurface);
|
||||
|
||||
// used by the alpha-modifier protocol
|
||||
float m_pAlphaModifier = 1.F;
|
||||
float m_fAlphaModifier = 1.F;
|
||||
|
||||
// used by the hyprland-surface protocol
|
||||
float m_fOverallOpacity = 1.F;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue