VirtualBox

Ignore:
Timestamp:
Jun 25, 2008 3:12:05 PM (17 years ago)
Author:
vboxsync
Message:

warnings.

File:
1 edited

Legend:

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

    r9826 r9929  
    449449vbox_output_get_modes (xf86OutputPtr output)
    450450{
    451     uint32_t x, y, bpp, display;
    452451    bool rc;
    453452    unsigned i;
     
    459458    if (vbox_device_available(pVBox))
    460459    {
     460        uint32_t x, y, bpp, display;
    461461        rc = vboxGetDisplayChangeRequest(pScrn, &x, &y, &bpp, &display);
    462462        /* @todo - check the display number once we support multiple displays. */
     
    474474     * configuration file. */
    475475    for (i = 0; pScrn->display->modes[i] != NULL; i++)
     476    {
     477        int x, y;
    476478        if (2 == sscanf(pScrn->display->modes[i], "%dx%d", &x, &y))
    477479            vbox_output_add_mode(&pModes, pScrn->display->modes[i], x, y,
    478480                                 FALSE, TRUE);
     481    }
    479482    TRACE2;
    480483    return pModes;
     
    917920 * This function hooks into the chain that is called when framebuffer access
    918921 * is allowed or disallowed by a call to EnableDisableFBAccess in the server.
    919  * In other words, it observes when the server wishes access to the 
     922 * In other words, it observes when the server wishes access to the
    920923 * framebuffer to be enabled and when it should be disabled.  We need to know
    921924 * this because we disable access ourselves during mode switches (presumably
    922925 * the server should do this but it doesn't) and want to know whether to
    923  * restore it or not afterwards. 
     926 * restore it or not afterwards.
    924927 */
    925928static 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