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(
|
Some(orientation) => self.set_dialog(
|
||||||
Randr::Transform(match orientation {
|
Randr::Transform(match orientation {
|
||||||
1 => Transform::Rotate90,
|
1 => Transform::Rotate90,
|
||||||
2 => Transform::Flipped180,
|
2 => Transform::Rotate180,
|
||||||
3 => Transform::Flipped270,
|
3 => Transform::Rotate270,
|
||||||
_ => Transform::Normal,
|
_ => Transform::Normal,
|
||||||
}),
|
}),
|
||||||
&request,
|
&request,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue