Function wayland_server::create_display [] [src]

pub fn create_display() -> (Display, EventLoop)

Create a new display

Create a socket to listen on for clients. By default use the name wayland-0, if not overwriten by the environment variable WAYLAND_DISPLAY.