input: don't schedule repaint on cursor move if hardware cursors are in use

This commit is contained in:
Vaxry 2023-11-10 18:49:15 +00:00
parent b8a615ffb8
commit 92cb44ddb2
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@ void CInputManager::mouseMoveUnified(uint32_t time, bool refocus) {
if (*PZOOMFACTOR != 1.f)
g_pHyprRenderer->damageMonitor(PMONITOR);
if (!PMONITOR->solitaryClient && g_pHyprRenderer->shouldRenderCursor())
if (!PMONITOR->solitaryClient && g_pHyprRenderer->shouldRenderCursor() && PMONITOR->output->software_cursor_locks > 0)
g_pCompositor->scheduleFrameForMonitor(PMONITOR);
CWindow* forcedFocus = m_pForcedFocus;