everyday mac tools

Windows slide away when you click the desktop on a Mac: turn it off

· 6 min read

If every window flies to the edges of the screen when you click an empty patch of desktop, that is a feature named Click wallpaper to reveal desktop. It arrived in macOS 14 Sonoma and is on by default. To turn it off, open System Settings, Desktop & Dock, and change Click wallpaper to reveal desktop from Always to Only in Stage Manager.

Until you do, clicking the wallpaper a second time, or clicking any sliver of a window at the screen edge, brings everything back.

Turn it off in System Settings

  1. Open System Settings from the Apple menu.
  2. Click Desktop & Dock in the sidebar.
  3. Scroll to the Desktop & Stage Manager section.
  4. Beside Click wallpaper to reveal desktop, choose Only in Stage Manager.

The change applies at once. Clicking the wallpaper now does what it did before Sonoma: it makes Finder the active app and leaves your windows where they are.

There is no Never option. Only in Stage Manager is the off switch for anyone who does not use Stage Manager. If you do use it, the click still clears the stage there.

The Terminal version

The same setting as a command, which is handy when you are setting up several Macs:

defaults write com.apple.WindowManager EnableStandardClickToShowDesktop -bool false

To go back to the default:

defaults delete com.apple.WindowManager EnableStandardClickToShowDesktop

If nothing changes straight away, log out and back in. What defaults write does and how to undo one safely explains what commands like these touch.

Keep a deliberate way to show the desktop

Turning off the click does not remove Show Desktop. These still work, and none of them fires by accident as easily:

  • Keyboard. Fn-F11, or Command with the Mission Control key (F3 on most Apple keyboards). Press again to bring the windows back.
  • Trackpad. Spread your thumb and three fingers apart. Pinch them together to return.
  • Hot corner. Assign Desktop to a corner with the Hot Corners button at the bottom of Desktop & Dock. Set up hot corners on a Mac without triggering them by accident shows how to add a modifier key so a corner does not fire by itself.
  • Your own shortcut. System Settings, Keyboard, Keyboard Shortcuts, Mission Control, Show Desktop.

If what you want is a file that sits on the desktop, not the desktop itself, there is a quicker route. In Finder, Shift-Command-D opens the Desktop folder in a window. You can also drag the Desktop folder from your home folder to the right side of the Dock and reach its contents from there.

If windows still move when you did not ask

Several other features shift windows around, and they are easy to mistake for this one.

Stage Manager is on. Windows from other apps slide into a strip at the left edge whenever you switch apps. Turn it off in Control Center, or with the Stage Manager switch in Desktop & Dock.

A hot corner is set to Desktop or Mission Control. The windows scatter when the pointer reaches a corner, with no click at all. Check the Hot Corners button at the bottom of Desktop & Dock.

The trackpad gesture. A thumb resting on the trackpad can register as the spread gesture. The switch is in System Settings, Trackpad, More Gestures, Show Desktop.

Window tiling, from macOS 15 Sequoia. If a window snaps to half the screen or fills it when you drag it near an edge, that is tiling, not reveal desktop. In Desktop & Dock, under Windows, turn off Drag windows to screen edges to tile and Drag windows to menu bar to fill screen. The Tiled windows have margins switch in the same group controls the gap left around tiled windows.

Spaces changing order. If whole desktops swap places, the cause is a different setting again: see Stop a Mac rearranging desktops and Spaces on its own.

Desktop icons and widgets

The feature exists because Sonoma put widgets on the desktop, and one click was meant to reach them. Two related groups of switches sit in the same pane.

  • Show Items, On Desktop (in Desktop & Stage Manager). Untick it and your desktop files are hidden until the desktop is revealed. The files are still in the Desktop folder. If you turn the click off, leave this ticked, or your icons become hard to reach.
  • Show Widgets, On Desktop (in the Widgets group). Untick it if you do not want widgets visible behind your windows at all.

Neither changes how windows behave. They decide what you see once the windows are out of the way.

One switch, and the settings around it

This switch is a single choice, and now it is made. It does not call for a tool.

Its neighbors are a different matter. Hot corners, the delay before a hidden Dock appears and window animations are the settings people adjust back and forth, and some of them have no switch in System Settings at all. Mainspring presents more than 90 macOS settings as plainly labeled power-ups, hot corners, an instant Dock and no window animations among them. It snapshots each setting before changing it, so one click puts it back. That reversibility is the point when you are experimenting to find a desktop that stays put. Mainspring is $29 once for up to three Macs, with a free one-day trial, and it runs on macOS 13 Ventura or later.

One more thing to remember. A major macOS update occasionally puts a default back. If the windows start sliding away again after an upgrade, check this setting first. Mac settings that revert after a macOS update lists the usual ones.

Questions

Why is this on by default? To make desktop widgets and files reachable in one click. If you use neither, the feature has no benefit for you and one cost, which is the accidental trigger.

Does it affect full-screen apps? No. A full-screen app has no wallpaper showing, so there is nothing to click.

I turned it off and my desktop icons vanished. Why? Show Items, On Desktop is unticked. With that off, icons appear only while the desktop is revealed. Tick it again in Desktop & Dock.

Does this exist on macOS 13 Ventura or earlier? No. The feature and its setting both begin with Sonoma. On older versions, windows moving by themselves point to Stage Manager (Ventura only), a hot corner or the trackpad gesture.