VirtualBox

Changeset 55195 in vbox for trunk/src/VBox/Additions/x11


Ignore:
Timestamp:
Apr 10, 2015 8:58:41 PM (10 years ago)
Author:
vboxsync
Message:

Additions/x11/vboxvideo: do not get modes from xorg.conf for recent X servers.

File:
1 edited

Legend:

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

    r55194 r55195  
    502502                                 pVBox->pScreens[iScreen].aPreferredSize.cy, TRUE, FALSE);
    503503    VBOXEDIDSet(output, pMode);
    504 
    505     /* Also report any modes the user may have requested in the xorg.conf
    506      * configuration file. */
    507     for (i = 0; pScrn->display->modes[i] != NULL; i++)
    508     {
    509         if (2 == sscanf(pScrn->display->modes[i], "%ux%u", &x, &y))
    510             vbox_output_add_mode(pVBox, &pModes, pScrn->display->modes[i], x, y, FALSE, TRUE);
    511     }
    512504    TRACE_EXIT();
    513505    return pModes;
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