From 80fc30d03ec4dced4816eef585b30cd109d1b4c7 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Mon, 18 Apr 2022 13:35:35 +0200 Subject: [PATCH] remove unused var --- src/managers/InputManager.cpp | 1 - 1 file changed, 1 deletion(-) 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) {