summaryrefslogtreecommitdiff
path: root/src/savage_driver.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/savage_driver.c')
-rw-r--r--src/savage_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/savage_driver.c b/src/savage_driver.c
index c7ff0a2..2c3636f 100644
--- a/src/savage_driver.c
+++ b/src/savage_driver.c
@@ -1899,7 +1899,7 @@ static Bool SavageEnterVT(int scrnIndex, int flags)
psav->LockHeld = 0;
}
#endif
- if (!psav->IsSecondary)
+ if (!SAVPTR(pScrn)->IsSecondary)
SavageSave(pScrn);
if(SavageModeInit(pScrn, pScrn->currentMode)) {
/* some BIOSes seem to enable HW cursor on PM resume */