LavaUI docs GitHub

message WindowInfo

Control plane

message WindowInfo

One window, as a dock or a task list has to see it.

What a shell needs, which is narrower than what a window is: enough to draw an entry, group entries by application, and say which one to bring forward. Position is omitted on purpose — a dock that knew where windows were would be tempted to move them, and moving windows is the compositor's job. Size is here only so a switcher card can keep the window's aspect without a pixel round trip.

idl/lava.npidl:565

Fields

appId: string

What the application calls itself: an xdg-shell app_id for a Wayland client, and whatever a lava client passed to CreateSurface otherwise. Empty when nobody said, which a shell should read as "no icon for this", not as "no application".

The identity a desktop file is found by, and therefore the identity an icon is found by. Two windows of one application share it, which is what lets a dock show one entry with two windows behind it.

idl/lava.npidl:576

focused: boolean

Not documented.

idl/lava.npidl:579

height: u32

Not documented.

idl/lava.npidl:583

minimized: boolean

Not documented.

idl/lava.npidl:578

surfaceId: u32

Not documented.

idl/lava.npidl:566

title: string

Not documented.

idl/lava.npidl:567

width: u32

Last committed content size, in pixels. Zero if the window has never been configured. Not a request and not a position.

idl/lava.npidl:582

workspace: u32

Not documented.

idl/lava.npidl:577