MainspringGuides › Disable click-wallpaper show desktop
macOS Guide

Stop clicking the wallpaper from hiding all your windows (Sonoma)

Updated 2026 · 3 min read

macOS Sonoma introduced a feature where clicking any visible patch of wallpaper hides all your windows and shows the desktop. It's well-intentioned, but if you click near the edge of a window by accident you suddenly lose everything you were working on. Here's how to turn it off.

Why this happens

macOS 14 Sonoma added "click wallpaper to reveal desktop" — a single click on the desktop background whisks all windows to the sides, mimicking the show-desktop gesture. The idea was to make it easier to access desktop widgets. In practice, many people find it fires accidentally while clicking around their screen.

Turn it off in System Settings (easiest)

  1. Open System Settings (Apple menu → System Settings).
  2. Click Desktop & Dock in the sidebar.
  3. Scroll down to the Desktop & Stage Manager section.
  4. Turn off "Click wallpaper to reveal desktop".

The change takes effect immediately. Clicking bare wallpaper no longer moves your windows.

Turn it off via Terminal

If you prefer Terminal — or want to script this on a new machine — one command does the same thing:

# disable click-wallpaper-to-show-desktop
defaults write com.apple.WindowManager EnableStandardClickToShowDesktop -bool false
killall WindowManager

WindowManager restarts briefly (the screen may flicker), and the behavior is disabled. To re-enable it:

# re-enable the Sonoma click-wallpaper behavior
defaults write com.apple.WindowManager EnableStandardClickToShowDesktop -bool true
killall WindowManager

Stage Manager and this setting

If you use Stage Manager, this setting behaves slightly differently — Stage Manager has its own "click to reveal desktop" mode that is controlled separately. The EnableStandardClickToShowDesktop key controls the standard (non-Stage-Manager) desktop click behavior. If you have Stage Manager on, check System Settings → Desktop & Dock → Stage Manager options for the equivalent toggle there.

More hidden tweaks like this

Mainspring collects 90+ settings like this one — things macOS buries in obscure menus or Terminal commands — and puts them in a single panel with clear labels and one-click toggles. Each change is reversible without memorizing the original command.

Try Mainspring free →

Signed & notarized by Apple · 1-day free trial · $29 once

Still want a way to show the desktop?

Disabling the wallpaper-click doesn't remove your other options. You can still show the desktop with Mission Control → Desktop, the ⌘F3 keyboard shortcut, a three-finger spread trackpad gesture (if enabled), or a Hot Corner assignment. Any of these is more deliberate than an accidental wallpaper click.