diff options
| author | Pollux <pollux@pollux.codes> | 2025-01-05 12:38:49 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-05 18:38:49 +0000 |
| commit | a5c14370c11287cbf520c8f427179c665ac9c891 (patch) | |
| tree | 72926e2db1259ab654b98d8d0d32374113fd6522 /src/render/pass/RectPassElement.cpp | |
| parent | b0bae15499ad57bbfeae8be958df8c022201e583 (diff) | |
renderer: Add supercircular window corners (#8943)
renderer: Add supercircular shadows and borders
config: Add rounding_power to default and example configs
rule: add `roundingpower` window rule
Diffstat (limited to 'src/render/pass/RectPassElement.cpp')
| -rw-r--r-- | src/render/pass/RectPassElement.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/pass/RectPassElement.cpp b/src/render/pass/RectPassElement.cpp index 25a550b3..a57c959e 100644 --- a/src/render/pass/RectPassElement.cpp +++ b/src/render/pass/RectPassElement.cpp @@ -10,9 +10,9 @@ void CRectPassElement::draw(const CRegion& damage) { return; if (data.color.a == 1.F || !data.blur) - g_pHyprOpenGL->renderRectWithDamage(&data.box, data.color, damage, data.round); + g_pHyprOpenGL->renderRectWithDamage(&data.box, data.color, damage, data.round, data.roundingPower); else - g_pHyprOpenGL->renderRectWithBlur(&data.box, data.color, data.round, data.blurA, data.xray); + g_pHyprOpenGL->renderRectWithBlur(&data.box, data.color, data.round, data.roundingPower, data.blurA, data.xray); } bool CRectPassElement::needsLiveBlur() { |
