From 1e57d4e54dd821a83b81f4118640dda99fc787cb Mon Sep 17 00:00:00 2001 From: clotodex Date: Sat, 24 May 2025 23:46:48 +0200 Subject: [PATCH] hyprscrolling: fix colresize not always recalculating (#360) --- hyprscrolling/Scrolling.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hyprscrolling/Scrolling.cpp b/hyprscrolling/Scrolling.cpp index 36e29d3..766dfaa 100644 --- a/hyprscrolling/Scrolling.cpp +++ b/hyprscrolling/Scrolling.cpp @@ -746,6 +746,7 @@ std::any CScrollingLayout::layoutMessage(SLayoutMessageHeader header, std::strin c->columnWidth = abs; } + WDATA->column->workspace->recalculate(); return {}; } @@ -763,6 +764,7 @@ std::any CScrollingLayout::layoutMessage(SLayoutMessageHeader header, std::strin break; } + WDATA->column->workspace->recalculate(); return {}; } else if (ARGS[1] == "-conf") { for (size_t i = m_config.configuredWidths.size() - 1; i >= 0; --i) { @@ -777,6 +779,7 @@ std::any CScrollingLayout::layoutMessage(SLayoutMessageHeader header, std::strin break; } + WDATA->column->workspace->recalculate(); return {}; }