Skip to main content

Crate aen_window

Crate aen_window 

Source
Expand description

Native application windows owned and composed by KnottCompositor.

One authenticated connection creates one window. Frame acknowledgements mean software adoption, not physical scanout. Applications cannot assign geometry, workspaces, focus or stacking. The compositor owns those policies.

Modules§

clipboard
Bounded UTF-8 clipboard transactions on the compositor’s owner control socket. Scope zero is trusted session-operator access. Native window scopes are checked by KnottCompositor; these scopes are not a same-UID application sandbox.

Structs§

Client
Nonblocking transport. Prefer WorkerWindow when application work can block.
ClientOptions
Explicit optional protocol extensions. The default keeps the original v3 handshake byte-for-byte; unsupported opt-in endpoints fail without replay.
Configure
Create
Frame
Input
PixelBuffer
Immutable shared pixels. A server-side upload retains its aggregate memory reservation until the final compositor/upload reference has been dropped.
PointerConfinementRequest
One bounded request against the current adopted frame. Serials start at one and increase exactly once per request; a reply releases transport credit.
WorkerWindow
One window connection with one owner-held frame/request credit. Receiving an ACK on the worker does not release credit until the application drains it. No connection, frame, input or close request is replayed after an error.

Enums§

Event
InputEvent
TouchPhase

Constants§

MAX_APP_ID_BYTES
MAX_CLIENTS
MAX_DIMENSION
MAX_FRAME_BYTES
MAX_MEMORY_BYTES
MAX_TEXT_COMMIT_BYTES
Maximum UTF-8 byte length of one committed text input event.
MAX_TITLE_BYTES
MOD_ALT
MOD_CTRL
MOD_SHIFT
MOD_SUPER
PROTOCOL_NAME
PROTOCOL_VERSION
TRANSFER_TIMEOUT

Functions§

frame_bytes
socket_for_shell
socket_from_env
Selects one native endpoint. No display connection or discovery fallback is made.

Type Aliases§

ServerFrame