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(
Randr::Transform(match orientation {
1 => Transform::Rotate90,
2 => Transform::Flipped180,
3 => Transform::Flipped270,
2 => Transform::Rotate180,
3 => Transform::Rotate270,
_ => Transform::Normal,
}),
&request,