diff --git a/src/managers/InputManager.cpp b/src/managers/InputManager.cpp index 48ec1e53..3928dc1c 100644 --- a/src/managers/InputManager.cpp +++ b/src/managers/InputManager.cpp @@ -353,7 +353,6 @@ void CInputManager::recheckConstraint(SMouse* pMouse) { return; const auto MOUSECOORDS = getMouseCoordsInternal(); - const auto PWINDOW = g_pCompositor->getWindowFromSurface(pMouse->currentConstraint->surface); const auto PREGION = &pMouse->currentConstraint->region; if (pMouse->currentConstraint->type == WLR_POINTER_CONSTRAINT_V1_CONFINED) {