aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorvaxerski <[email protected]>2023-10-04 12:57:37 +0100
committervaxerski <[email protected]>2023-10-04 12:57:37 +0100
commitf803be3d3150288710a924e3ca56ade9a1893f0f (patch)
treea99925463b4a115c9b0ebb0612580aa19a5bed80
parent2901bb0d2f69f90bc4e2f8fabbc78a0df8130523 (diff)
downloadHyprland-f803be3d3150288710a924e3ca56ade9a1893f0f.tar.gz
Hyprland-f803be3d3150288710a924e3ca56ade9a1893f0f.zip
input: fixup frame schedule conditions on mouse move
-rw-r--r--src/managers/input/InputManager.cpp2
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;