aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorvaxerski <[email protected]>2023-10-12 17:26:31 +0100
committervaxerski <[email protected]>2023-10-12 17:26:35 +0100
commite4bcd2e2da3136fb55886c4f02dd4a01099e687b (patch)
tree07199fa3016663c0c6e83fbc3304941702060f8a
parent06cc42441cd5b24444f7c79495851dedde8bc732 (diff)
downloadHyprland-e4bcd2e2da3136fb55886c4f02dd4a01099e687b.tar.gz
Hyprland-e4bcd2e2da3136fb55886c4f02dd4a01099e687b.zip
monitor: ensure vrr on workspace change
-rw-r--r--src/helpers/Monitor.cpp2
1 files changed, 2 insertions, 0 deletions
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) {