xf86-video-nested: src/driver.c

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Dec 14 21:02:23 UTC 2018


 src/driver.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 6a48b385c41ea89354d0b2ee7f4649a1d1d9ec70
Author: Jon Turney <jon.turney at dronecode.org.uk>
Date:   Mon Jun 12 23:17:42 2017 +0100

    Update for removal of virtualFrom from ScrnInfoRec
    
    Removed in xserver commit 76ef102b.

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",


More information about the xorg-commit mailing list