[PATCH driver/xf86-video-nested] Update for removal of virtualFrom from ScrnInfoRec

Jon Turney jon.turney at dronecode.org.uk
Mon Jun 12 22:20:24 UTC 2017


Removed in xserver commit 76ef102b.

Signed-off-by: Jon Turney <jon.turney at dronecode.org.uk>
---
 src/driver.c | 3 +--
 1 file changed, 1 insertion(+), 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",
-- 
2.12.3



More information about the xorg-devel mailing list