diff --git a/anvil/src/udev.rs b/anvil/src/udev.rs index d61c392..03c24d0 100644 --- a/anvil/src/udev.rs +++ b/anvil/src/udev.rs @@ -107,14 +107,6 @@ pub fn run_udev(log: Logger) { let mut event_loop = EventLoop::try_new().unwrap(); let display = Rc::new(RefCell::new(Display::new())); - let name = display - .borrow_mut() - .add_socket_auto() - .unwrap() - .into_string() - .unwrap(); - info!(log, "Listening on wayland socket"; "name" => name.clone()); - ::std::env::set_var("WAYLAND_DISPLAY", name); /* * Initialize session */