Skip to main content

handle_pane_place

Function handle_pane_place 

Source
pub(super) async fn handle_pane_place(
    __arg0: State<AppState>,
    caller: Option<Extension<Caller>>,
    __arg2: Json<PanePlaceRequest>,
) -> impl IntoResponse
Expand description

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).