VirtualBox

Ignore:
Timestamp:
Nov 25, 2009 5:07:04 PM (15 years ago)
Author:
vboxsync
Message:

Additions/x11/vboxvideo: workaround a bug in X.Org 1.3 which caused dynamic resizing to fail

File:
1 edited

Legend:

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

    r22149 r24972  
    721721    pScrn->chipset = "vbox";
    722722
    723     /* I assume that this is no longer a requirement in the config file. */
     723    /* This *is* still needed, at least for server version 1.3 */
    724724    pScrn->monitor = pScrn->confScreen->monitor;
    725725
     
    761761    memcpy(pVBox->Options, VBOXOptions, sizeof(VBOXOptions));
    762762    xf86ProcessOptions(pScrn->scrnIndex, pScrn->options, pVBox->Options);
     763
     764    /* Work around a bug in the original X server modesetting code, which
     765     * took the first valid values set to these two as maxima over the
     766     * server lifetime. */
     767    pScrn->virtualX = 32000;
     768    pScrn->virtualY = 32000;
    763769
    764770    /* Initialise CRTC and output configuration for use with randr1.2. */
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