<NME> xwayland.rs
<BEF> ADDFILE
<MSG> anvil: Add a xwayland feature

This commit adds an xwayland feature to anvil. Right now, this feature
doesn't do much. anvil uses the smithay code to start XWayland, but does
not do anything with it once it is running.

Signed-off-by: Uli Schlachter <346c0ad49ac8427b61b3b55abbe37dc0ebd524f2@znc.in>

<DFF> @@ -0,0 +1,21 @@
+use std::os::unix::net::UnixStream;
+
+use smithay:: {
+    reexports::wayland_server::Client,
+    xwayland::XWindowManager,
+};
+
+pub struct XWm;
+
+impl XWm {
+    pub fn new() -> Self {
+        Self
+    }
+}
+
+impl XWindowManager for XWm {
+    fn xwayland_ready(&mut self, _connection: UnixStream, _client: Client) {
+    }
+
+    fn xwayland_exited(&mut self) {}
+}

anvil: Add a xwayland feature