VirtualBox

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


Ignore:
Timestamp:
Jun 25, 2008 3:08:47 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
32350
Message:

warnings.

File:
1 edited

Legend:

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

    r9826 r9928  
    416416vbox_output_get_modes (xf86OutputPtr output)
    417417{
    418     uint32_t x, y, bpp, display;
    419418    bool rc;
    420419    unsigned i;
     
    426425    if (vbox_device_available(pVBox))
    427426    {
     427        uint32_t x, y, bpp, display;
    428428        rc = vboxGetDisplayChangeRequest(pScrn, &x, &y, &bpp, &display);
    429429        /** @todo - check the display number once we support multiple displays. */
     
    447447     * configuration file. */
    448448    for (i = 0; pScrn->display->modes[i] != NULL; i++)
     449    {
     450        int x, y;
    449451        if (2 == sscanf(pScrn->display->modes[i], "%dx%d", &x, &y))
    450452            vbox_output_add_mode(&pModes, pScrn->display->modes[i], x, y,
    451453                                 FALSE, TRUE);
    452    
     454    }
     455
    453456    TRACE2;
    454457    return pModes;
     
    841844 * This function hooks into the chain that is called when framebuffer access
    842845 * is allowed or disallowed by a call to EnableDisableFBAccess in the server.
    843  * In other words, it observes when the server wishes access to the 
     846 * In other words, it observes when the server wishes access to the
    844847 * framebuffer to be enabled and when it should be disabled.  We need to know
    845848 * this because we disable access ourselves during mode switches (presumably
    846849 * the server should do this but it doesn't) and want to know whether to
    847  * restore it or not afterwards. 
     850 * restore it or not afterwards.
    848851 */
    849852static void
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