дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-12-05 17:47:08 +02:00
* fix(titlebar): do not start a stuck window drag when activating on Windows (#7142) A click on the title bar of a background window raised it and also started Tauri's caption drag. start_dragging posts WM_NCLBUTTONDOWN/HTCAPTION; if the button is already up when that message runs, Win32 follows the cursor until the next click. On Windows the title bar now uses the same custom drag path as macOS: a press only arms the drag, and the native drag starts on a move while the button is still held. window_start_drag also checks GetAsyncKeyState. Double-click zoom still happens on the second press. Linux is unchanged. * chore(bindings): regenerate windowStartDrag docs for the Windows drag fix `cargo test -p openidea --test export_bindings` copies the new window_start_drag rustdoc into src/bindings.ts. commands.snap is unchanged. * fix(titlebar): preserve native Windows maximize, swapped mouse buttons, and drag state cleanup --------- Co-authored-by: l0ng-ai <[email protected]>