pages/display: Fix reverting orientation changes

This commit is contained in:
Victoria Brekenfeld 2026-07-08 16:03:25 +02:00 committed by Victoria Brekenfeld
parent b34d204a18
commit 6202344c26

View file

@ -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,