pub trait XWindowManager {
    fn xwayland_ready(&mut self, connection: UnixStream, client: Client);
    fn xwayland_exited(&mut self);
}
Expand description

Trait to be implemented by you WM for XWayland

This is a very low-level trait, only notifying you when the connection with XWayland is up, or when it terminates.

You WM must be able handle the XWayland server connecting then disconnecting several time in a row, but only a single connection will be active at any given time.

Required Methods§

The XWayland server is ready

Your privileged connection to it is this UnixStream

The XWayland server has exited

Implementors§