summaryrefslogtreecommitdiff
path: root/src/sna/sna_display.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sna/sna_display.c')
-rw-r--r--src/sna/sna_display.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/sna_display.c b/src/sna/sna_display.c
index 8d2ec8a4..636217aa 100644
--- a/src/sna/sna_display.c
+++ b/src/sna/sna_display.c
@@ -3692,7 +3692,7 @@ static bool sna_probe_initial_configuration(struct sna *sna)
continue;
mode_from_kmode(scrn, &mode.mode, &crtc->desiredMode);
- crtc->desiredRotation = RR_Rotate_0;
+ crtc->desiredRotation = sna_crtc->primary_rotation.current;
crtc->desiredX = mode.x;
crtc->desiredY = mode.y;
crtc->desiredTransformPresent = FALSE;