From 442ccb069d849e5ea69b095821dbad89d0b5ee26 Mon Sep 17 00:00:00 2001 From: Emre Bener <33965796+Emrebener@users.noreply.github.com> Date: Sat, 4 Apr 2026 19:16:37 +0100 Subject: [PATCH] renderer/groupbar: fix a group indicator rounding bug (#13975) single tab edge case handled --- src/render/decorations/CHyprGroupBarDecoration.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/render/decorations/CHyprGroupBarDecoration.cpp b/src/render/decorations/CHyprGroupBarDecoration.cpp index 09545ca35..b8f6d814f 100644 --- a/src/render/decorations/CHyprGroupBarDecoration.cpp +++ b/src/render/decorations/CHyprGroupBarDecoration.cpp @@ -172,7 +172,7 @@ void CHyprGroupBarDecoration::draw(PHLMONITOR pMonitor, float const& a) { if (*PROUNDING) { rectdata.round = *PROUNDING; rectdata.roundingPower = *PROUNDINGPOWER; - if (*PROUNDONLYEDGES) { + if (*PROUNDONLYEDGES && barsToDraw > 1) { rectdata.round = 0; const double offset = *PROUNDING * 2; if (i == 0) { @@ -207,7 +207,7 @@ void CHyprGroupBarDecoration::draw(PHLMONITOR pMonitor, float const& a) { if (*PGRADIENTROUNDING) { data.round = *PGRADIENTROUNDING; data.roundingPower = *PGRADIENTROUNDINGPOWER; - if (*PGRADIENTROUNDINGONLYEDGES) { + if (*PGRADIENTROUNDINGONLYEDGES && barsToDraw > 1) { data.round = 0; const double offset = *PGRADIENTROUNDING * 2; if (i == 0) {