Skip to main content

Module pane_place

Module pane_place 

Source
Expand description

An agent’s resize, move and place of a floating pane it opened, and where each such pane is, for Pane layout (docs/specs/SPEC_AGENT_PANE_PLACEMENT_FLOATING_2026_11_22.md §2.2, §2.3, §2.4, §3).

srv cannot reach a window’s screen, so it asks the floating window itself, in the placefloatingpane event, and the window answers with pane.floatplaced, the same request, wait and answer an open uses (app_api::floater_place). The window resolves the request against the work area of its own monitor, sets its rect without raising or activating it, and says where it went. An agent acts only on a pane its opener record names it for (pane_openers).

Enums§

Asked 🔒
What the window did with a question.
Op 🔒
What a Pane placement action does to the window.

Constants§

MEASURE_WAIT 🔒
How long Pane layout waits for a floating window to say where it is.
NOT_YOURS 🔒
The refusal for a pane the caller did not open.

Functions§

ask 🔒
Ask the floating window win to apply place (or, with none, to say where it is) and wait for its answer.
check 🔒
The action and its arguments, checked: each action takes what it changes and refuses the rest, in words that say which action to use instead. The request comes back as the floating-open shape the shared checks read.
floater_of 🔒
Where agent stands with block_id: refused with the status and text the agent gets, or the window to ask.
handle_pane_place 🔒
POST /api/v1/pane/place — an agent’s resize, move or place of a floating pane it opened. Answers with where the window is now (placed, in CSS pixels from the work area’s top-left, clamped when it had to be pulled in).
is_tacked 🔒
Whether the person tacked the floating pane block_id (its header’s always-on-top pin): the block’s meta says so.
placement_refusal 🔒
Why agent may not resize, move, place, dock or float block_id: it did not open it, or it is still a background session (kept above every display until Browser show shows it, which holds the caps a shown pane is under).
report_floaters 🔒
Pane layout’s report of the floating panes agents opened: each gets floating: true and, from its window, rect (x, y, width, height in CSS pixels from the work area’s top-left, and display_scale) and always_on_top (the person’s tack). A window that does not answer gets rect: null and the reason. Panes nobody opened as a floater are left as they are.
window_of 🔒
The window of the floating pane block_id: the srv window row of the workspace it is alone in.