[client] wayland: fix typo in warp usage

The unwanted ! was introduced in 4b99bba200.
This basically caused warp to never be used.
This commit is contained in:
Quantum 2021-07-14 15:57:23 -04:00 committed by Geoffrey McRae
parent 4d065d577b
commit 48ae5c69f4

View File

@ -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;