kernl API
    Preparing search index...

    Interface WindowManagerState

    Everything a shell needs to draw its windows. A new object is published after every change.

    interface WindowManagerState {
        area: Rect;
        compact: boolean;
        focusedId: string | null;
        freeform: boolean;
        layout: LayoutChoice;
        windows: readonly ManagedWindow[];
    }
    Index
    area: Rect

    The rectangle windows are laid out in.

    compact: boolean

    The area is narrow: every window fills it, whatever the layout.

    focusedId: string | null
    freeform: boolean

    Whether the person may move and resize windows now.

    layout: LayoutChoice

    The layout in use.

    windows: readonly ManagedWindow[]

    Every window, in opening order. The order never changes while a window lives, so a frame is never moved in the document.