Module tear_off_hook

Module tear_off_hook 

Source

StructsΒ§

HookContext πŸ”’

ConstantsΒ§

HOOK_CTX πŸ”’

FunctionsΒ§

candidate_label_under_cursor_locked πŸ”’
Find the AgentMux window label whose top-level HWND contains the cursor position. Excludes the dragged window itself (landing on the dragged window’s strip would be a no-op merge). Takes the browsers lock guard from the caller so we don’t re-acquire on the WM_MOUSEMOVE hot path.
handle_button_up πŸ”’
handle_mouse_move πŸ”’
is_instance_label πŸ”’
low_level_keyboard_proc πŸ”’ ⚠
low_level_mouse_proc πŸ”’ ⚠
start_tear_off_tracking
Spawn a hook thread for the duration of a tear-off gesture. Returns Ok once the hook is installed; the thread runs in the background until WM_LBUTTONUP arrives or stop_tear_off_tracking is called.