diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-10-28 23:48:48 +0100 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-10-28 23:48:48 +0100 |
| commit | 74d05d0adc14d920aa780b2ca2a51c9ca14fadd7 (patch) | |
| tree | 54c6eace3929884f2f1f0d30bced665eb301dbe6 /src/helpers/Monitor.cpp | |
| parent | 341a0616aa792508c2ee31949a4ad595148880ee (diff) | |
ensure VRR for current display only in onConnect
Diffstat (limited to 'src/helpers/Monitor.cpp')
| -rw-r--r-- | src/helpers/Monitor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helpers/Monitor.cpp b/src/helpers/Monitor.cpp index 7b008566..39f1b910 100644 --- a/src/helpers/Monitor.cpp +++ b/src/helpers/Monitor.cpp @@ -134,7 +134,7 @@ void CMonitor::onConnect(bool noRule) { g_pEventManager->postEvent(SHyprIPCEvent{"monitoradded", szName}); // ensure VRR (will enable if necessary) - g_pConfigManager->ensureVRR(); + g_pConfigManager->ensureVRR(this); } void CMonitor::onDisconnect() { |
