Go to index / Go to protocols

treeland_prelaunch_splash_v1 ↗

prelaunch splash screen management

Warning! This protocol is EXPERIMENTAL and under active development. It may change at any time, including in backward-incompatible ways, without incrementing the interface major version and without prior notice. No compatibility guarantees of any kind are provided. Clients and compositors must track the upstream definition in treeland-protocols and must not rely on the current interface names, requests, events, or semantics remaining stable across releases.

treeland_prelaunch_splash_v1
treeland_prelaunch_splash_manager_v1

Version 1
Compositor Support
Version 1
treeland 0.8.0

prelaunch splash screen manager

This interface is a manager for creating prelaunch splash screens. A prelaunch splash screen is a placeholder surface that is shown before an application's main window is mapped. This helps to improve the perceived startup time.

It is particularly useful for application launchers to provide immediate feedback to the user.

treeland_prelaunch_splash_manager_v1
request destroy()
Destructor

    destroy the manager

    treeland_prelaunch_splash_manager_v1
    request create_splash(
        app_id: string,
        sandbox_engine_name: string,
        icon_buffer: nullable object<wl_buffer>,
    )
    • app_id — the application ID
    • sandbox_engine_name — the sandbox engine / security context name (required, non-empty)
    • icon_buffer — optional icon image as wl_buffer (e.g. wl_shm)

    create a new splash screen

    Creates a new prelaunch splash screen.

    The app_id is a string that identifies the application. The compositor will use this ID together with sandbox_engine_name to match the splash screen with the actual application window when it appears. This matching mechanism should also work for XWayland windows.

    Callers MUST provide a non-empty sandbox_engine_name string which identifies the sandboxing/container.

    If there is already an active (not-yet-completed) splash for the same sandbox_engine_name and app_id, the compositor will silently ignore this request (no new splash will be created and no error is raised).