StructsΒ§
- Hook
Context π
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_trackingis called.