This commit is contained in:
Bill Thiede 2023-01-23 16:14:50 -08:00
parent 6ae87393c7
commit f230dcd701

View File

@ -92,7 +92,7 @@ impl Screen {
fn metamode(&self, map: &ScreenMapping) -> Result<String, CommandError> { fn metamode(&self, map: &ScreenMapping) -> Result<String, CommandError> {
let Resolution { width, height } = self.resolution; let Resolution { width, height } = self.resolution;
let Offset { x, y } = self.offset; let Offset { x, y } = self.offset;
let (in_w, in_h) = match self.orientation { let (_in_w, _in_h) = match self.orientation {
Orientation::None | Orientation::Invert => (width, height), Orientation::None | Orientation::Invert => (width, height),
Orientation::Right | Orientation::Left => (height, width), Orientation::Right | Orientation::Left => (height, width),
}; };