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

@ -166,7 +166,7 @@ impl XdgPositioner {
self.client.protocol_error(
self,
INVALID_INPUT,
format!("Cannot set a non-positive size"),
&format!("Cannot set a non-positive size"),
);
return Err(SetSizeError::NonPositiveSize);
}
@ -182,7 +182,7 @@ impl XdgPositioner {
self.client.protocol_error(
self,
INVALID_INPUT,
format!("Cannot set an anchor rect with negative size"),
&format!("Cannot set an anchor rect with negative size"),
);
return Err(SetAnchorRectError::NegativeAnchorRect);
}
@ -248,7 +248,7 @@ impl XdgPositioner {
self.client.protocol_error(
self,
INVALID_INPUT,
format!("Cannot set a negative parent size"),
&format!("Cannot set a negative parent size"),
);
return Err(SetParentSizeError::NegativeParentSize);
}