diff options
Diffstat (limited to 'src/helpers/Monitor.cpp')
| -rw-r--r-- | src/helpers/Monitor.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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() { |
