diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2023-03-24 22:24:12 +0000 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2023-03-24 22:24:12 +0000 |
| commit | 41f7736c8521162cb3ea5f3c003e0643c1bcf616 (patch) | |
| tree | d868b77811dbeec31a23d9aba31dbcbe702595de /src/events/Monitors.cpp | |
| parent | c418007c686abc978ef4119976c2231a105a5568 (diff) | |
config: default manual animations to false
Diffstat (limited to 'src/events/Monitors.cpp')
| -rw-r--r-- | src/events/Monitors.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/events/Monitors.cpp b/src/events/Monitors.cpp index ae5095aa..ad0e416b 100644 --- a/src/events/Monitors.cpp +++ b/src/events/Monitors.cpp @@ -151,7 +151,7 @@ void Events::listener_monitorFrame(void* owner, void* data) { const auto ESTRENDERTIME = std::ceil(avg + *PRATSAFE); const auto TIMETOSLEEP = std::floor(MSLEFT - ESTRENDERTIME); - if (MSLEFT < 1 || MSLEFT < ESTRENDERTIME) + if (MSLEFT < 1 || MSLEFT < ESTRENDERTIME || TIMETOSLEEP < 1) g_pHyprRenderer->renderMonitor(PMONITOR); else wl_event_source_timer_update(PMONITOR->renderTimer, TIMETOSLEEP); |
