aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorvaxerski <[email protected]>2022-07-05 21:45:32 +0200
committervaxerski <[email protected]>2022-07-05 21:45:32 +0200
commitae096219e83b1a90990f2277b5a9302a3e943d84 (patch)
treee8f34de6cb261ada2dc095186f9120517c52c294
parent7ff427c229b22243d3a6507cca3a7df64d31c241 (diff)
downloadHyprland-0.6.3beta.tar.gz
Hyprland-0.6.3beta.zip
do updates on every mon update if VFR is enabledv0.6.3beta
-rw-r--r--src/events/Monitors.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/events/Monitors.cpp b/src/events/Monitors.cpp
index 562c4533..d46b02ff 100644
--- a/src/events/Monitors.cpp
+++ b/src/events/Monitors.cpp
@@ -184,7 +184,7 @@ void Events::listener_monitorFrame(void* owner, void* data) {
// Hack: only check when monitor with top hz refreshes, saves a bit of resources.
// This is for stuff that should be run every frame
- if (PMONITOR->ID == pMostHzMonitor->ID) {
+ if (PMONITOR->ID == pMostHzMonitor->ID || *VFRENABLED) { // unfortunately with VFR we don't have the guarantee mostHz is going to be updated all the time, so we have to ignore that
g_pCompositor->sanityCheckWorkspaces();
g_pAnimationManager->tick();
g_pCompositor->cleanupFadingOut();