From 47eac4be1cde424f12e942d58813a10869bfb169 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Sat, 22 Oct 2022 21:45:17 +0100 Subject: disable adaptive sync with no_vfr off --- src/helpers/Monitor.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/helpers/Monitor.cpp') diff --git a/src/helpers/Monitor.cpp b/src/helpers/Monitor.cpp index cb128617..9723e3ba 100644 --- a/src/helpers/Monitor.cpp +++ b/src/helpers/Monitor.cpp @@ -136,6 +136,9 @@ void CMonitor::onConnect(bool noRule) { g_pLayoutManager->getCurrentLayout()->recalculateMonitor(ID); g_pEventManager->postEvent(SHyprIPCEvent{"monitoradded", szName}); + + // ensure VRR (will enable if necessary) + g_pConfigManager->ensureVRR(); } void CMonitor::onDisconnect() { -- cgit v1.2.3