render: stop locking SWC on tearing

This commit is contained in:
Vaxry 2023-10-13 22:11:08 +01:00
parent 3a61350286
commit 424c9a7e70

View file

@ -880,10 +880,6 @@ void CHyprRenderer::renderMonitor(CMonitor* pMonitor) {
if (pMonitor->tearingState.activelyTearing != shouldTear) {
// change of state
pMonitor->tearingState.activelyTearing = shouldTear;
for (auto& m : g_pCompositor->m_vMonitors) {
wlr_output_lock_software_cursors(m->output, pMonitor->tearingState.activelyTearing);
}
}
EMIT_HOOK_EVENT("preRender", pMonitor);