VirtualBox

Changeset 67263 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jun 6, 2017 9:24:47 AM (8 years ago)
Author:
vboxsync
Message:

burgref:8533: Additions/x11: fully support VMSVGA
Fix broken resizing when VBoxClient --vmsvga is used in an X11 session. We were calling the function creating the X11 requests with two parameters inverted.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/x11/VBoxClient/display-svga.cpp

    r67043 r67263  
    273273        return;
    274274    /* Try a topology (multiple screen) request. */
    275     x11GetRequest(pContext, X11_VMW_TOPOLOGY_REQ, pContext->hVMWMajor,
     275    x11GetRequest(pContext, pContext->hVMWMajor, X11_VMW_TOPOLOGY_REQ,
    276276                    sizeof(struct X11VMWTOPOLOGYREQ)
    277277                  + sizeof(struct X11VMWRECT) * (cRects - 1),
     
    292292     * simpler code to negligeably improved efficiency, so we just always try
    293293     * both requests instead of doing version checks or caching. */
    294     x11GetRequest(pContext, X11_VMW_RESOLUTION_REQUEST, pContext->hVMWMajor,
     294    x11GetRequest(pContext, pContext->hVMWMajor, X11_VMW_RESOLUTION_REQUEST,
    295295                  sizeof(struct X11VMWTOPOLOGYREQ),
    296296                  (struct X11REQHEADER **)&pReqResolution);
     
    312312    if (!VALID_PTR(pContext->pDisplay))
    313313        VBClFatalError(("%s bad display argument.\n", __func__));
    314     x11GetRequest(pContext, X11_RANDR_GET_SCREEN_REQUEST, pContext->hRandRMajor,
     314    x11GetRequest(pContext, pContext->hRandRMajor, X11_RANDR_GET_SCREEN_REQUEST,
    315315                    sizeof(struct X11RANDRGETSCREENREQ),
    316316                  (struct X11REQHEADER **)&pReqGetScreen);
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