mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-07 23:51:55 -07:00
windowrules: fix opacity override
This commit is contained in:
@@ -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) {
|
||||||
|
Reference in New Issue
Block a user