From b009f991d103aea203e3fb0b2f00d0aa199941b6 Mon Sep 17 00:00:00 2001 From: Liam Hanrahan <60296487+outercloudstudio@users.noreply.github.com> Date: Thu, 9 Oct 2025 09:23:06 -0400 Subject: [PATCH] Remove redundant workspace check --- hyprscrolling/Scrolling.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hyprscrolling/Scrolling.cpp b/hyprscrolling/Scrolling.cpp index 1bf49929..7bd6fe34 100644 --- a/hyprscrolling/Scrolling.cpp +++ b/hyprscrolling/Scrolling.cpp @@ -275,7 +275,7 @@ SP SWorkspaceData::atCenter() { void SWorkspaceData::recalculate(bool forceInstant) { static const auto PFSONONE = CConfigValue("plugin:hyprscrolling:fullscreen_on_one_column"); - if (!workspace || !workspace) { + if (!workspace) { Debug::log(ERR, "[scroller] broken internal state on workspace data"); return; }