main: do not borrow layouts path
This commit is contained in:
parent
4fd0c82997
commit
15c9402b99
1 changed files with 1 additions and 1 deletions
|
|
@ -30,7 +30,7 @@ async fn main()
|
|||
.expect("Registry required");
|
||||
|
||||
let layouts = Path::new("/usr/share/unfettered-keyboard/layouts");
|
||||
let layout = Layout::load(&layouts, "latn_qwerty_us.xml")
|
||||
let layout = Layout::load(layouts, "latn_qwerty_us.xml")
|
||||
.expect("Layout should be loadable");
|
||||
let mut dispatcher = Dispatcher::new(layout, queue.handle(), &globals).unwrap();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue