diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2023-10-04 12:57:37 +0100 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2023-10-04 12:57:37 +0100 |
| commit | f803be3d3150288710a924e3ca56ade9a1893f0f (patch) | |
| tree | a99925463b4a115c9b0ebb0612580aa19a5bed80 /src/managers/input/InputManager.cpp | |
| parent | 2901bb0d2f69f90bc4e2f8fabbc78a0df8130523 (diff) | |
input: fixup frame schedule conditions on mouse move
Diffstat (limited to 'src/managers/input/InputManager.cpp')
| -rw-r--r-- | src/managers/input/InputManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/managers/input/InputManager.cpp b/src/managers/input/InputManager.cpp index caed742e..fe66b8ba 100644 --- a/src/managers/input/InputManager.cpp +++ b/src/managers/input/InputManager.cpp @@ -115,7 +115,7 @@ void CInputManager::mouseMoveUnified(uint32_t time, bool refocus) { if (*PZOOMFACTOR != 1.f) g_pHyprRenderer->damageMonitor(PMONITOR); - if (!PMONITOR->solitaryClient) // if there is a solitary client we can't schedule a frame here, this will completely fuck up drm + if (!PMONITOR->solitaryClient && g_pHyprRenderer->shouldRenderCursor()) g_pCompositor->scheduleFrameForMonitor(PMONITOR); CWindow* forcedFocus = m_pForcedFocus; |
