input: fixup frame schedule conditions on mouse move

This commit is contained in:
vaxerski 2023-10-04 12:57:37 +01:00
parent 2901bb0d2f
commit f803be3d31

View file

@ -115,7 +115,7 @@ void CInputManager::mouseMoveUnified(uint32_t time, bool refocus) {
if (*PZOOMFACTOR != 1.f) if (*PZOOMFACTOR != 1.f)
g_pHyprRenderer->damageMonitor(PMONITOR); 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); g_pCompositor->scheduleFrameForMonitor(PMONITOR);
CWindow* forcedFocus = m_pForcedFocus; CWindow* forcedFocus = m_pForcedFocus;