autocommit 2022-03-13 23:16:26 CET
This commit is contained in:
parent
a15a02a95c
commit
18806a38fb
13 changed files with 77 additions and 16 deletions
|
|
@ -5,7 +5,10 @@ use std::rc::Rc;
|
|||
pub async fn start_backend(state: Rc<State>) {
|
||||
log::info!("Trying to start X backend");
|
||||
let e = match XorgBackend::new(&state) {
|
||||
Ok(_b) => pending().await,
|
||||
Ok(b) => {
|
||||
state.backend.set(Some(b));
|
||||
pending().await
|
||||
},
|
||||
Err(e) => e,
|
||||
};
|
||||
log::warn!("Could not start X backend: {}", ErrorFmt(e));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue