Trait smithay::xwayland::XWindowManager
source · 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§
sourcefn xwayland_ready(&mut self, connection: UnixStream, client: Client)
fn xwayland_ready(&mut self, connection: UnixStream, client: Client)
The XWayland server is ready
Your privileged connection to it is this UnixStream
sourcefn xwayland_exited(&mut self)
fn xwayland_exited(&mut self)
The XWayland server has exited