From e4bcd2e2da3136fb55886c4f02dd4a01099e687b Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Thu, 12 Oct 2023 17:26:31 +0100 Subject: [PATCH] monitor: ensure vrr on workspace change --- src/helpers/Monitor.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/helpers/Monitor.cpp b/src/helpers/Monitor.cpp index 25a17189..e96da35c 100644 --- a/src/helpers/Monitor.cpp +++ b/src/helpers/Monitor.cpp @@ -554,6 +554,8 @@ void CMonitor::changeWorkspace(CWorkspace* const pWorkspace, bool internal, bool g_pHyprRenderer->damageMonitor(this); g_pCompositor->updateFullscreenFadeOnWorkspace(pWorkspace); + + g_pConfigManager->ensureVRR(this); } void CMonitor::changeWorkspace(const int& id, bool internal) {