summaryrefslogtreecommitdiff
path: root/src/i830_driver.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/i830_driver.c')
-rw-r--r--src/i830_driver.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/i830_driver.c b/src/i830_driver.c
index 9077c583..b776ff67 100644
--- a/src/i830_driver.c
+++ b/src/i830_driver.c
@@ -3528,6 +3528,9 @@ I830PMEvent(int scrnIndex, pmEvent event, Bool undo)
I830CheckDevicesTimer(NULL, 0, pScrn);
SaveScreens(SCREEN_SAVER_FORCER, ScreenSaverReset);
+ if (pI830->quirk_flag & QUIRK_RESET_MODES)
+ xf86SetDesiredModes(pScrn);
+
break;
default:
ErrorF("I830PMEvent: received APM event %d\n", event);