wayland_protocols::xdg::toplevel_icon::v1::server

Module xdg_toplevel_icon_v1

source
Available on crate features staging and server only.
Expand description

a toplevel window icon

This interface defines a toplevel icon. An icon can have a name, and multiple buffers. In order to be applied, the icon must have either a name, or at least one buffer assigned. Applying an empty icon (with no buffer or name) to a toplevel should reset its icon to the default icon.

It is up to compositor policy whether to prefer using a buffer or loading an icon via its name. See ‘set_name’ and ‘add_buffer’ for details.

Structs§

Enums§

Constants§