[client] wayland: fix full screen toggle in capture mode regression

This was fixed in 9db3cd7b and accidentally broke again in 4b99bba2.
This commit is contained in:
Quantum 2021-06-19 15:35:20 -04:00 committed by Geoffrey McRae
parent facbb54776
commit f3a1eaf557

View file

@ -439,7 +439,7 @@ void waylandUngrabKeyboard(void)
void waylandWarpPointer(int x, int y, bool exiting) void waylandWarpPointer(int x, int y, bool exiting)
{ {
if (!wlWm.pointerInSurface) if (!wlWm.pointerInSurface || wlWm.lockedPointer)
return; return;
INTERLOCKED_SECTION(wlWm.confineLock, INTERLOCKED_SECTION(wlWm.confineLock,