remove constraint recheck log

This commit is contained in:
vaxerski 2023-02-19 12:15:33 +00:00
parent c92e0c05e4
commit 6548439f6c

View file

@ -1015,12 +1015,6 @@ void CInputManager::recheckConstraint(SMouse* pMouse) {
} else { } else {
pixman_region32_clear(&pMouse->confinedTo); pixman_region32_clear(&pMouse->confinedTo);
} }
const auto PWINDOW = g_pCompositor->getConstraintWindow(g_pCompositor->m_sSeat.mouse);
const auto PWINDOWNAME = PWINDOW ? PWINDOW->m_szTitle : "";
Debug::log(LOG, "Constraint rechecked: %i, %i to %i, %i for %x (window name: %s)", PREGION->extents.x1, PREGION->extents.y1, PREGION->extents.x2, PREGION->extents.y2,
pMouse->currentConstraint->surface, PWINDOWNAME.c_str());
} }
void CInputManager::constrainMouse(SMouse* pMouse, wlr_pointer_constraint_v1* constraint) { void CInputManager::constrainMouse(SMouse* pMouse, wlr_pointer_constraint_v1* constraint) {