mirror of
https://github.com/jamesstringer90/appsandbox.git
synced 2026-10-22 02:52:49 -05:00
Add two keyboard modes to the IDD display window: - Default mode: reserved host hotkeys (Win, Alt+Tab, Alt+Esc, Ctrl+Esc, PrintScreen, App key) are neither forwarded to the guest nor consumed - they fall through to DefWindowProc so the host handles them, and the guest never sees a half-pressed hotkey. - Transmit mode: toggled from the window system menu and persisted per-VM in display_settings.json (created lazily beside vm_state.json). While the window is the active foreground window, a WH_KEYBOARD_LL hook captures reserved hotkeys, suppresses host handling, and forwards them to the guest. Fix the stuck Windows key: keyboard forwarding is now gated on window activation instead of mouse-in-render-area, held keys are tracked, and any keys still down are released to the guest on WM_ACTIVATE(WA_INACTIVE) - e.g. clicking off or Alt+Tabbing away with a key held. Also fix the Release post-build for the six agent tools: create release\resources before xcopy (matching the driver-package mkdir guard) so the copy no longer hits an interactive F/D prompt and fails with exit 2.