Skip to main content

WAYLAND_SOCKET_NAME

Static WAYLAND_SOCKET_NAME 

Source
pub(crate) static WAYLAND_SOCKET_NAME: Mutex<Option<String>>
Expand description

The compositor’s auto-picked socket name (e.g. “wayland-1”), published by the compositor thread once its listening socket exists. ListeningSocketSource::new_auto binds the first FREE wayland-N, which need not match any configured index — consumers must read the real name from here instead of assuming one.