LavaUI docs

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:466

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:477

focused: boolean

Not documented.

idl/lava.npidl:480

height: u32

Not documented.

idl/lava.npidl:484

minimized: boolean

Not documented.

idl/lava.npidl:479

surfaceId: u32

Not documented.

idl/lava.npidl:467

title: string

Not documented.

idl/lava.npidl:468

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:483

workspace: u32

Not documented.

idl/lava.npidl:478