VirtualBox

Changeset 57180 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Aug 4, 2015 4:01:29 PM (10 years ago)
Author:
vboxsync
Message:

Additions/x11/vboxvideo: fix a crash in KDM when it started a second server generation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/x11/vboxvideo/vboxvideo.c

    r57092 r57180  
    353353
    354354    /* Check that this code cannot trigger the resizing bug in X.Org Server 1.3.
    355      * See the work-around in PreInit. */
     355     * See the work-around in ScreenInit. */
    356356    xf86RandR12GetOriginalVirtualSize(pScrn, &originalX, &originalY);
    357357    VBVXASSERT(originalX == VBOX_VIDEO_MAX_VIRTUAL && originalY == VBOX_VIDEO_MAX_VIRTUAL, ("OriginalSize=%dx%d",
     
    931931
    932932#ifdef VBOXVIDEO_13
    933     /* Work around a bug in the original X server modesetting code, which took
    934      * the first valid values set to these two as maxima over the server
    935      * lifetime.  This bug was introduced on Feb 15 2007 and was fixed in commit
    936      * fa877d7f three months later, so it was present in X.Org Server 1.3. */
    937933    pScrn->virtualX = VBOX_VIDEO_MAX_VIRTUAL;
    938934    pScrn->virtualY = VBOX_VIDEO_MAX_VIRTUAL;
     
    13281324    }
    13291325
     1326    /* Work around a bug in the original X server modesetting code, which took
     1327     * the first valid values set to these two as maxima over the server
     1328     * lifetime.  This bug was introduced on Feb 15 2007 and was fixed in commit
     1329     * fa877d7f three months later, so it was present in X.Org Server 1.3. */
     1330    pScrn->virtualX = VBOX_VIDEO_MAX_VIRTUAL;
     1331    pScrn->virtualY = VBOX_VIDEO_MAX_VIRTUAL;
     1332
    13301333    /* Initialise randr 1.2 mode-setting functions. */
    13311334    if (!xf86CrtcScreenInit(pScreen)) {
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette