Merge pull request #485 from chrisduerr/remove_stuff

Remove socket initialization from udev.rs
This commit is contained in:
Bartłomiej Maryńczak 2022-01-29 20:40:33 +01:00 committed by GitHub
commit 3c19df03e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 8 deletions

View File

@ -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
*/