summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/managers/InputManager.cpp1
1 files changed, 0 insertions, 1 deletions
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) {