VirtualBox

Changeset 29017 in vbox for trunk


Ignore:
Timestamp:
May 4, 2010 1:44:55 PM (15 years ago)
Author:
vboxsync
Message:

crOpenGL: fix blak screen after loading snapshot of VM with compiz turned on (#4874)

Location:
trunk/src/VBox
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/crOpenGL/stub.c

    r28294 r29017  
    457457     * In (!pWindow->pVisibleRegions && cRects) "&& cRects" is a workaround for that case, especially as this
    458458     * information is useless for full screen composing managers anyway.
     459     * If this is changed, make sure to change crVBoxServerLoadState accordingly.
    459460     */
    460461    if ((!pWindow->pVisibleRegions && cRects)
  • trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_main.c

    r28534 r29017  
    872872        crServerDispatchWindowSize(key, muralInfo.width, muralInfo.height);
    873873        crServerDispatchWindowPosition(key, muralInfo.gX, muralInfo.gY);
    874         crServerDispatchWindowVisibleRegion(key, muralInfo.cVisibleRects, muralInfo.pVisibleRects);
     874        /* Same workaround as described in stub.c:stubUpdateWindowVisibileRegions for compiz on a freshly booted VM*/
     875        if (muralInfo.cVisibleRects)
     876        {
     877            crServerDispatchWindowVisibleRegion(key, muralInfo.cVisibleRects, muralInfo.pVisibleRects);
     878        }
     879        crServerDispatchWindowShow(key, muralInfo.bVisible);
    875880
    876881        if (muralInfo.pVisibleRects)
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