diff --git a/AUTHORS b/AUTHORS index b336d217..ddf88091 100644 --- a/AUTHORS +++ b/AUTHORS @@ -58,3 +58,4 @@ RTXUX (RTXUX) Vincent LaRocca (VMFortress) Johnathon Paul Weaver (8BallBomBom) Chris Spencer (spencercw) +Mark Boorer (Shootfast) diff --git a/client/displayservers/Wayland/input.c b/client/displayservers/Wayland/input.c index fe9e1c9d..2f02c45c 100644 --- a/client/displayservers/Wayland/input.c +++ b/client/displayservers/Wayland/input.c @@ -616,7 +616,10 @@ void waylandRealignPointer(void) void waylandGuestPointerUpdated(double x, double y, double localX, double localY) { - if (!wlWm.warpSupport || !wlWm.pointerInSurface || wlWm.lockedPointer) + if ( !wlWm.pointer || + !wlWm.warpSupport || + !wlWm.pointerInSurface || + wlWm.lockedPointer ) return; waylandWarpPointer((int) localX, (int) localY, false);