summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 078707a9..8ab195c8 100644
--- a/src/i830_driver.c
+++ b/src/i830_driver.c
@@ -5707,6 +5707,9 @@ I830CheckDevicesTimer(OsTimerPtr timer, CARD32 now, pointer arg)
"Detected display change operation (0x%x, 0x%x, 0x%lx).\n",
pI8301->lastDevice1, pI8301->lastDevice2, temp);
+ /* So that if we close on the wrong config, we restore correctly */
+ pI830->specifiedMonitor = TRUE;
+
/* double check the display devices are what's configured and try
* not to do it twice because of dual heads with the code above */
if (!SetDisplayDevices(pScrn, temp)) {