# Monitor memory

Source: https://panefold.com/features/monitor-memory

Unplug a monitor and plug it back: every window returns to where it was.

macOS moves a monitor’s windows to the laptop when it goes, and leaves them there. PaneFold saves a layout for each set of connected displays and restores it on connect, disconnect and wake. On wake with two monitors, each monitor’s windows wait for it, and nothing moves across.

It doesn’t need Scenes. For plenty of people this alone is the reason to buy.

- Displays saved by role as well as by ID, so a Scene from the office works at home
- Switch to a Scene when a display connects
- Respects each screen’s menu bar, notch and Dock, and mixed scaling

## The problem

When a monitor goes away, macOS moves its windows onto the laptop and doesn’t record where they came from. Plug it back in and they stay on the laptop. Anyone who docks and undocks a laptop rebuilds their desk every day.

## How PaneFold handles it

1. It saves a layout for each set of connected displays, using each display’s own ID.
2. It waits a moment after a display connects or the Mac wakes, as macOS is still settling.
3. It restores the layout for the displays you have now.
4. If that exact set is new, it falls back to each display’s role: main, second or laptop.

## Details it gets right

- Connecting in a different order doesn’t matter.
- Waking with two monitors, each monitor’s windows wait for it, so nothing piles up first.
- Each screen’s menu bar, notch and Dock are respected, along with mixed Retina scaling.

## Questions

### Does it need Scenes?

No. Turn on monitor memory and never make a Scene, if that’s all you want.

### Can a monitor switch me to a Scene?

Yes, optionally. Connecting your desk monitor can switch to Work.
