diff options
| author | Vaxry <43317083+vaxerski@users.noreply.github.com> | 2026-04-26 15:16:36 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-04-26 15:16:36 +0100 |
| commit | 5ba33f846129f3e6c0505b19f94634b24505e828 (patch) | |
| tree | aaacabe678006040c342935481a86607c66607fd /src/protocols/Fifo.cpp | |
| parent | 329b2b356dd92ac07f4e2aa69cbce82ee9ba9d19 (diff) | |
config/lua: init lua config manager, use lua if available (#13817)
Adds a new lua config manager, which will automatically be used if there is a lua config present.
Diffstat (limited to 'src/protocols/Fifo.cpp')
| -rw-r--r-- | src/protocols/Fifo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/protocols/Fifo.cpp b/src/protocols/Fifo.cpp index 355644d9..7ba1bf20 100644 --- a/src/protocols/Fifo.cpp +++ b/src/protocols/Fifo.cpp @@ -30,7 +30,7 @@ CFifoResource::CFifoResource(UP<CWpFifoV1>&& resource_, SP<CWLSurfaceResource> s if (!m_surface->m_current.barrierSet) { // that might mean an empty commit with a barrier_set alone - static const auto PPEND = CConfigValue<Hyprlang::INT>("debug:fifo_pending_workaround"); + static const auto PPEND = CConfigValue<Config::INTEGER>("debug:fifo_pending_workaround"); if (!m_surface->m_pending.fifoScheduled) m_surface->m_pending.fifoScheduled = checkMonitors(*PPEND); @@ -44,7 +44,7 @@ CFifoResource::CFifoResource(UP<CWpFifoV1>&& resource_, SP<CWLSurfaceResource> s if (!state || !state->surfaceLocked) return; - static const auto PPEND = CConfigValue<Hyprlang::INT>("debug:fifo_pending_workaround"); + static const auto PPEND = CConfigValue<Config::INTEGER>("debug:fifo_pending_workaround"); //#TODO: // this feels wrong, but if we have no pending frames, presented might never come because |
