diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2017-06-12 23:17:42 +0100 |
---|---|---|
committer | Jon Turney <jon.turney@dronecode.org.uk> | 2018-12-14 17:30:04 +0000 |
commit | 6a48b385c41ea89354d0b2ee7f4649a1d1d9ec70 (patch) | |
tree | 37d92883b06d09f45830a597bd98ef03f8e196d9 | |
parent | 32a6e112e081123851d1ddd8c57582ab041f5400 (diff) |
Update for removal of virtualFrom from ScrnInfoRec
Removed in xserver commit 76ef102b.
-rw-r--r-- | src/driver.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/driver.c b/src/driver.c index 0e3cb29..67eab71 100644 --- a/src/driver.c +++ b/src/driver.c @@ -443,7 +443,7 @@ NestedValidateModes(ScrnInfoPtr pScrn) { pScrn->modePool = NULL; - /* Now set virtualX, virtualY, displayWidth and virtualFrom */ + /* Now set virtualX, virtualY and displayWidth*/ if (pScrn->display->virtualX >= pScrn->modes->HDisplay && pScrn->display->virtualY >= pScrn->modes->VDisplay) { @@ -465,7 +465,6 @@ NestedValidateModes(ScrnInfoPtr pScrn) { pScrn->virtualX = maxX; pScrn->virtualY = maxY; } - pScrn->virtualFrom = X_DEFAULT; pScrn->displayWidth = pScrn->virtualX; xf86DrvMsg(pScrn->scrnIndex, X_INFO, "Virtual size: %dx%d\n", |