pages/display: Fix reverting orientation changes
This commit is contained in:
parent
b34d204a18
commit
6202344c26
1 changed files with 2 additions and 2 deletions
|
|
@ -913,8 +913,8 @@ impl Page {
|
|||
Some(orientation) => self.set_dialog(
|
||||
Randr::Transform(match orientation {
|
||||
1 => Transform::Rotate90,
|
||||
2 => Transform::Flipped180,
|
||||
3 => Transform::Flipped270,
|
||||
2 => Transform::Rotate180,
|
||||
3 => Transform::Rotate270,
|
||||
_ => Transform::Normal,
|
||||
}),
|
||||
&request,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue