Files
designcraft/crates
aiongg 94fa7dc2ad macOS: double-clicking the title bar zooms or minimizes, and dragging it moves the window
The window has a full-size content view, so every click in the title-bar
band reaches the app and AppKit neither drags nor zooms the window. An
empty part of the application bar now acts as the title bar:

- A double-click follows System Settings > Desktop & Dock > "Double-click
  a window's title bar to": zoom (the default), minimize or do nothing.
  The setting (AppleActionOnDoubleClick) is read once per run with
  `defaults read` on a background thread; until then, or if reading
  fails, the bar zooms.
- A drag moves the window (ViewportCommand::StartDrag).

The empty area senses clicks only and sits behind the bar's controls, so
Home, the menus, search, the workspace menu, Share and Discord keep their
clicks, and a drag that starts on one of them does not move the window.
2026-10-11 02:42:25 +00:00
..
2026-10-07 10:44:46 -04:00