codeburn/windows
iamtoruk b1e8f121df feat(windows): the dock lays out on the display it was dropped on
The rail was laid out against whichever monitor the window happened to be
on and clamped to that one work area, so it could not be dragged onto a
second display and a relaunch would not have found it there.

A placement now names its display, the way the mac keeps its rail on the
screen it was left on. The name is a hint rather than an address: a
display that is gone falls back to the one the window is on, which is
what unplugging a monitor should do. A drag takes the monitor list once,
at the press, and then picks the display under the pointer by arithmetic;
asking the window for its monitors sixty times a second would be sixty
trips through the event loop, and the mac's own drag does the same
containment test against a captured screen list.

Display changes reach the rail through the cursor thread that is already
running: once a second it compares a fingerprint of the desktop (display
count, virtual screen bounds, primary work area), which costs three
user32 reads and no event loop, and lays the rail out again when it
moves. That is the counterpart of the mac's didChangeScreenParameters.
The new frame is announced, because the page paints into the frame it was
last handed and a window that moves on this side is otherwise invisible
to it.
2026-09-01 21:51:05 -07:00
..
dist windows: import the Tauri tray app as the Windows menubar 2026-08-18 04:00:59 -07:00
Scripts windows: import the Tauri tray app as the Windows menubar 2026-08-18 04:00:59 -07:00
src feat(windows): a Connect button and footer lines in the dock bubble 2026-09-01 21:43:07 -07:00
src-tauri feat(windows): the dock lays out on the display it was dropped on 2026-09-01 21:51:05 -07:00
.gitignore windows: import the Tauri tray app as the Windows menubar 2026-08-18 04:00:59 -07:00
DEVELOPMENT.md menubar: install and launch the Windows tray app from codeburn menubar 2026-08-18 06:55:09 -07:00
index.html windows: import the Tauri tray app as the Windows menubar 2026-08-18 04:00:59 -07:00
package-lock.json chore: release 0.9.23 2026-08-29 01:22:46 -07:00
package.json chore: release 0.9.23 2026-08-29 01:22:46 -07:00
tokens.json windows: import the Tauri tray app as the Windows menubar 2026-08-18 04:00:59 -07:00
tsconfig.json windows: import the Tauri tray app as the Windows menubar 2026-08-18 04:00:59 -07:00
vite.config.ts windows: import the Tauri tray app as the Windows menubar 2026-08-18 04:00:59 -07:00