mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-23 04:29:48 +01:00
windowrules: fix opacity override
This commit is contained in:
parent
90f69782ee
commit
af395a8f55
1 changed files with 2 additions and 2 deletions
|
@ -493,10 +493,10 @@ void CWindow::applyDynamicRule(const SWindowRule& r) {
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (r == "override") {
|
if (r == "override") {
|
||||||
if (opacityIDX == 0) {
|
if (opacityIDX == 1) {
|
||||||
m_sSpecialRenderData.alphaOverride = true;
|
m_sSpecialRenderData.alphaOverride = true;
|
||||||
m_sSpecialRenderData.alphaInactiveOverride = true;
|
m_sSpecialRenderData.alphaInactiveOverride = true;
|
||||||
} else
|
} else if (opacityIDX == 2)
|
||||||
m_sSpecialRenderData.alphaInactiveOverride = true;
|
m_sSpecialRenderData.alphaInactiveOverride = true;
|
||||||
} else {
|
} else {
|
||||||
if (opacityIDX == 0) {
|
if (opacityIDX == 0) {
|
||||||
|
|
Loading…
Reference in a new issue