renderer: add "noscreenshare" layer rule (#11664)
This commit is contained in:
parent
45f007d412
commit
26f293523a
5 changed files with 27 additions and 2 deletions
|
|
@ -388,8 +388,9 @@ void CLayerSurface::applyRules() {
|
|||
m_noAnimations = false;
|
||||
m_forceBlur = false;
|
||||
m_ignoreAlpha = false;
|
||||
m_ignoreAlphaValue = 0.f;
|
||||
m_dimAround = false;
|
||||
m_noScreenShare = false;
|
||||
m_ignoreAlphaValue = 0.f;
|
||||
m_xray = -1;
|
||||
m_animationStyle.reset();
|
||||
|
||||
|
|
@ -425,6 +426,10 @@ void CLayerSurface::applyRules() {
|
|||
m_dimAround = true;
|
||||
break;
|
||||
}
|
||||
case CLayerRule::RULE_NOSCREENSHARE: {
|
||||
m_noScreenShare = true;
|
||||
break;
|
||||
}
|
||||
case CLayerRule::RULE_XRAY: {
|
||||
CVarList vars{rule->m_rule, 0, ' '};
|
||||
m_xray = configStringToInt(vars[1]).value_or(false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue