Go to index / Go to protocols

jay_toplevel_icon_subject_v1 ↗

protocol for creating xdg_toplevel icon subjects

This protocol allows clients to create jay_icon_surface_subject_v1 objects from xdg_toplevel objects.

jay_toplevel_icon_subject_v1
jay_toplevel_icon_subject_manager_v1

Version 1

manager singleton

This interface is a singleton global.

jay_toplevel_icon_subject_manager_v1
request destroy()
Destructor

    destroy this object

    This request destroys the object.

    This has no effect on any created subjects.

    jay_toplevel_icon_subject_manager_v1
    request create_subject(
        id: new_id<jay_icon_surface_subject_v1>,
        toplevel: object<xdg_toplevel>,
    )
    • id — the new subject
    • toplevel — the underlying toplevel

    create a subject

    This request creates a jay_icon_surface_subject_v1 object that references an xdg_toplevel.

    For the purpose of the jay_icon_surface_manager_v1.create_factory request, assigning an xdg_toplevel_icon_v1 icon to the toplevel counts as creating a jay_icon_surface_factory_v1 for the toplevel. Therefore, these two APIs should not be used concurrently on the same toplevel.