mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-01-01 20:22:24 +03:00
windowrules: fix opacity override
This commit is contained in:
parent
90f69782ee
commit
af395a8f55
@ -493,10 +493,10 @@ void CWindow::applyDynamicRule(const SWindowRule& r) {
|
||||
continue;
|
||||
|
||||
if (r == "override") {
|
||||
if (opacityIDX == 0) {
|
||||
if (opacityIDX == 1) {
|
||||
m_sSpecialRenderData.alphaOverride = true;
|
||||
m_sSpecialRenderData.alphaInactiveOverride = true;
|
||||
} else
|
||||
} else if (opacityIDX == 2)
|
||||
m_sSpecialRenderData.alphaInactiveOverride = true;
|
||||
} else {
|
||||
if (opacityIDX == 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user