1
0
Fork 0
forked from wry/wry

autocommit 2022-02-15 23:50:26 CET

This commit is contained in:
Julian Orth 2022-02-15 23:50:26 +01:00
parent 3591f6f4f9
commit 086f2f73f4
5 changed files with 43 additions and 30 deletions

View file

@ -263,7 +263,12 @@ impl ConfigProxyHandler {
Ok(())
}
fn handle_run(&self, prog: &str, args: Vec<String>, env: Vec<(String, String)>) -> Result<(), RunError> {
fn handle_run(
&self,
prog: &str,
args: Vec<String>,
env: Vec<(String, String)>,
) -> Result<(), RunError> {
let forker = match self.state.forker.get() {
Some(f) => f,
_ => return Err(RunError::NoForker),
@ -354,8 +359,6 @@ enum CphError {
KeymapDoesNotExist(Keymap),
#[error("Seat {0:?} does not exist")]
SeatDoesNotExist(Seat),
#[error("Seat {0:?} does not exist")]
UnexpectedMessage(String),
#[error("Could not parse the message")]
ParsingFailed(#[source] DecodeError),
}