VirtualBox

Changeset 54162 in vbox for trunk/src/VBox/Main/src-client


Ignore:
Timestamp:
Feb 11, 2015 9:08:20 PM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
98203
Message:

Devices/Graphics and Main: avoid unnecessary graphics notifications to the guest.

Location:
trunk/src/VBox/Main/src-client
Files:
1 added
1 edited

Legend:

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

    r54114 r54162  
    11831183    if (!ptrVM.isOk())
    11841184        return ptrVM.rc();
     1185    if (mfHostCursorCapabilities == fHostCursorCapabilities)
     1186        return S_OK;
    11851187    CHECK_CONSOLE_DRV(mpDrv);
    11861188    alock.release();  /* Release before calling up for lock order reasons. */
    11871189    mpDrv->pUpPort->pfnReportHostCursorCapabilities (mpDrv->pUpPort, fCapabilitiesAdded, fCapabilitiesRemoved);
    11881190    if (   mfGuestVBVACapabilities & VBVACAPS_DISABLE_CURSOR_INTEGRATION
    1189         && !(mfGuestVBVACapabilities & VBVACAPS_IRQ)
    1190         && fHostCursorCapabilities != mfHostCursorCapabilities)
     1191        && !(mfGuestVBVACapabilities & VBVACAPS_IRQ))
    11911192    {
    11921193        HRESULT hrc = mParent->i_sendACPIMonitorHotPlugEvent();
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