![Peter Hutterer](/assets/img/avatar_default.png)
If we're moving our tool like a relative pointer, constrain to our viewports, if any. This fixes the cursor moving off the screen in relative mode. Closes: https://gitlab.gnome.org/GNOME/mutter/-/issues/3168 Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3410>