Desktop larger than the screen

The cat laid on the keyboard and when I got him off, the desktop was zoomed in so that to see all of it my mouse cursor automatically scrolls. What keys did he hit?

That was on Ubuntu 20.04 (Focal Fossa) using GNOME.


Solution 1:

In GNOME to turn Zoom off and on it is Alt+Super+8

Solution 2:

For future readers:

If you're using XFCE, you can zoom in and out by scrolling while holding Alt. This is the same key you hold to drag windows with LMB or resize them with RMB.

This key can be customized in: Settings➔Window Manager Tweaks➔Accessibility➔Key used to grab and move windows.