VirtualBox

Changeset 82676 in vbox


Ignore:
Timestamp:
Jan 8, 2020 4:56:40 PM (5 years ago)
Author:
vboxsync
Message:

Devices/VMMDev: add initialization of idDisplay, because otherwise we tend to report nonsense especially for the X11 GA case which want to query the last hint

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/VMMDev/VMMDev.cpp

    r82675 r82676  
    42744274        memset(&pRequest->lastReadDisplayChangeRequest, 0, sizeof(pRequest->lastReadDisplayChangeRequest));
    42754275        pRequest->lastReadDisplayChangeRequest.fDisplayFlags = VMMDEV_DISPLAY_DISABLED;
     4276        pRequest->lastReadDisplayChangeRequest.idDisplay = i;
    42764277    }
    42774278    pThis->displayChangeData.iCurrentMonitor = 0;
     
    44654466        DISPLAYCHANGEREQUEST *pRequest = &pThis->displayChangeData.aRequests[i];
    44664467        pRequest->displayChangeRequest.fDisplayFlags = VMMDEV_DISPLAY_DISABLED;
     4468        pRequest->displayChangeRequest.idDisplay = i;
    44674469        pRequest->lastReadDisplayChangeRequest.fDisplayFlags = VMMDEV_DISPLAY_DISABLED;
     4470        pRequest->lastReadDisplayChangeRequest.idDisplay = i;
    44684471    }
    44694472
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