VirtualBox

Changeset 44822 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Feb 25, 2013 3:58:57 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
83948
Message:

Main: 6414: VM crashes with 2 virtual screens configured on Mac host with Win guest. Fixing the erroneous event originator.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/DisplayImpl.cpp

    r44421 r44822  
    41004100        pFBInfo->flags = pScreen->u16Flags;
    41014101
    4102         /* Temporary: ask framebuffer to resize using a default format. The framebuffer will be black. */
    4103         pThis->handleDisplayResize(pScreen->u32ViewIndex, 0,
    4104                                    (uint8_t *)NULL,
    4105                                    pScreen->u32LineSize, pScreen->u32Width,
    4106                                    pScreen->u32Height, pScreen->u16Flags);
     4102        /* Ask the framebuffer to resize using a default format. The framebuffer will be black.
     4103         * So if the frontend does not support GuestMonitorChangedEventType_Disabled event,
     4104         * the VM window will be black. */
     4105        uint32_t u32Width = pFBInfo->w ? pFBInfo->w : 640;
     4106        uint32_t u32Height = pFBInfo->h ? pFBInfo->h : 480;
     4107        pThis->handleDisplayResize(pScreen->u32ViewIndex, 0, (uint8_t *)NULL, 0,
     4108                                   u32Width, u32Height, pScreen->u16Flags);
    41074109
    41084110        fireGuestMonitorChangedEvent(pThis->mParent->getEventSource(),
Note: See TracChangeset for help on using the changeset viewer.

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