From a209f9911ceb83e17a3fc0269ebea1a7d8587784 Mon Sep 17 00:00:00 2001 From: Vaxry Date: Fri, 29 Aug 2025 11:12:30 +0200 Subject: [PATCH] window: allow rounding power of 1 supersedes #11510 --- src/desktop/Window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/desktop/Window.cpp b/src/desktop/Window.cpp index 95651b7b..03914581 100644 --- a/src/desktop/Window.cpp +++ b/src/desktop/Window.cpp @@ -1206,7 +1206,7 @@ float CWindow::rounding() { float CWindow::roundingPower() { static auto PROUNDINGPOWER = CConfigValue("decoration:rounding_power"); - return m_windowData.roundingPower.valueOr(std::clamp(*PROUNDINGPOWER, 2.0f, 10.0f)); + return m_windowData.roundingPower.valueOr(std::clamp(*PROUNDINGPOWER, 1.F, 10.F)); } void CWindow::updateWindowData() {