summaryrefslogtreecommitdiff
path: root/src/radeon_modes.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/radeon_modes.c')
-rw-r--r--src/radeon_modes.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/radeon_modes.c b/src/radeon_modes.c
index 6952dd53..66d8a7fb 100644
--- a/src/radeon_modes.c
+++ b/src/radeon_modes.c
@@ -74,6 +74,8 @@ void RADEONSetPitch (ScrnInfoPtr pScrn)
break;
}
pScrn->displayWidth = dummy;
+ info->CurrentLayout.displayWidth = pScrn->displayWidth;
+
}
/* This is used only when no mode is specified for FP and no ddc is