[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)
{
if (!wlWm.pointerInSurface)
if (!wlWm.pointerInSurface || wlWm.lockedPointer)
return;
INTERLOCKED_SECTION(wlWm.confineLock,