Files
photocraft/apps
David MannandClaude Opus 5.5 e617469fc4 Dock a floating document window the OS moved by its title bar onto the tabs (#16415)
On Windows the app-drawn frame's hit test hands the title bar to the OS,
which runs the move: the app sees neither the press nor the release. A
new primary_down service (GetAsyncKeyState) tells when the button goes
up; a window that moved and ends with the OS pointer on its bar over the
main window's tab strip docks. The drop target is the tab strip, or a
tab-high band at the top of the document area where no strip shows; the
app looks again every 50 ms while such a move lasts and repaints after
docking, so the OS window closes at once.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-22 19:15:09 +01:00
..