diff --git a/client/displayservers/Wayland/input.c b/client/displayservers/Wayland/input.c index 41513172..cb9900a8 100644 --- a/client/displayservers/Wayland/input.c +++ b/client/displayservers/Wayland/input.c @@ -444,7 +444,7 @@ void waylandWarpPointer(int x, int y, bool exiting) INTERLOCKED_SECTION(wlWm.confineLock, { - if (!wlWm.lockedPointer) + if (wlWm.lockedPointer) { LG_UNLOCK(wlWm.confineLock); return;