Skip to main content

handle_window_focus

Function handle_window_focus 

Source
pub(super) async fn handle_window_focus(
    __arg0: State<AppState>,
    __arg1: Json<WindowFocusRequest>,
) -> impl IntoResponse
Expand description

POST /api/v1/window/focus — bring a window to the foreground. Defaults to the caller’s own window. Routes through client.FocusWindow.