Early in the GNOME /wayland transition, there was a bug I hit where you could drag windows off the edge of the screen, and somehow the desktop would scroll. It was kinda cool conceptually, but completely broken functionally, as it was hard to scroll back.
Edit: Wayland was actually the solution, Xorg was the problem:
https://programming.dev/pictrs/image/bc70285d-88ac-42aa-80be-b8b8f012547b.png