diff options
| author | Szwagi <12988954+Szwagi@users.noreply.github.com> | 2026-01-31 13:37:01 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-31 13:37:01 +0000 |
| commit | cbeb6984e748029ff481d5581d7e4f5279fd3d1a (patch) | |
| tree | 59119e250c19257417fa548f955c8e4eaf2f2c0c /src/Compositor.cpp | |
| parent | 4330b49a84f527a52d1e7723ef42b459de58b8ae (diff) | |
renderer: fix mouse motion in VRR (#12665)
Diffstat (limited to 'src/Compositor.cpp')
| -rw-r--r-- | src/Compositor.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Compositor.cpp b/src/Compositor.cpp index 1d80c65c..bdaa8f32 100644 --- a/src/Compositor.cpp +++ b/src/Compositor.cpp @@ -3103,3 +3103,7 @@ std::optional<unsigned int> CCompositor::getVTNr() { return ttynum; } + +bool CCompositor::isVRRActiveOnAnyMonitor() const { + return std::ranges::any_of(m_monitors, [](const PHLMONITOR& m) { return m->m_vrrActive; }); +} |
