Hacker News new | ask | show | jobs
by charcircuit 164 days ago
Window management on Windows is done by Explore which talks to DWM where the underlying windows live.

Window management on MacOS is done by Dock which talks to Quartz Compositor where the underlying windows live.

1 comments

You are conflating Window Manager with Task Switcher programs.
No, I'm not. Explore and Dock are responsible for more than just that.
Sorry but you’re just wrong. Explore.exe and Dock.app are nere user interfaces and are not involved in the render pipeline of other apps.
I am talking about window management. Window management is about controling windows, windows managers should not care about how windows are rendered.
1. Nobody else is talking about managing windows as a user. They’re talking about the system that manages windows for drawing and interaction.

2. You’re provably wrong even if someone followed your description because you can kill the dock or explorer process and still be able to switch between windows and move them around. Killing explorer is a little more heavy handed than killing the dock but it doesn’t take down the window manager.

You're not wrong about Explorer, but the parent is also partially right.

While you can move, resize, minimize, maximize, and switch between windows without Explorer running, other window management features are limited or nonfunctional without it:

1. Explorer is responsible for the taskbar, and thus the only useful way to view minimized windows.

2. Alt+Tab still switches between windows without Explorer, but the window switching UI does not appear.

3. Virtual desktops still exist without Explorer, but there's no obvious way to switch between or otherwise interact with them.

4. Snapped windows retain their positions without Explorer, but window snapping functionality is not available, and resizing snapped windows does not resize adjacent windows as it normally does.

5. Without Explorer, desktop backgrounds and desktop icons do not appear.

5. Explorer is responsible for handling many system level keyboard shortcuts, including shortcuts for features not obviously related to Explorer or missing window management functionality (e.g., game bar, snipping tool, emoji panel).

Explorer.exe and Dock.app have nothing to do with anything anyone is talking about here.