1
0
Fork 0
forked from wry/wry

autocommit 2022-02-06 20:12:09 CET

This commit is contained in:
Julian Orth 2022-02-06 20:12:09 +01:00
parent 3f50b0c75e
commit 96038f49bc
18 changed files with 60 additions and 90 deletions

View file

@ -35,7 +35,6 @@ pub use handling::NodeSeatState;
use std::cell::{Cell, RefCell};
use std::collections::hash_map::Entry;
use std::io::Write;
use std::ops::Deref;
use std::rc::Rc;
use thiserror::Error;
use uapi::{c, OwnedFd};
@ -312,10 +311,10 @@ impl WlSeat {
})
}
fn send_name(self: &Rc<Self>, name: &Rc<String>) {
self.client.event(NameOut {
fn send_name(self: &Rc<Self>, name: &str) {
self.client.event(Name {
self_id: self.id,
name: name.deref().clone(),
name,
})
}