VirtualBox

Ignore:
Timestamp:
Jul 20, 2007 1:49:10 PM (17 years ago)
Author:
vboxsync
Message:

2079: Create seamless mode:

The new seamless region will be updated only if it differs from the previous.

Location:
trunk/src/VBox/Frontends/VirtualBox
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/include/VBoxConsoleView.h

    r3728 r3736  
    225225    VBoxDefs::RenderMode mode;
    226226
     227    QRegion mLastVisibleRegion;
     228
    227229#if defined(Q_WS_WIN)
    228230    HCURSOR mAlphaCursor;
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxConsoleView.cpp

    r3728 r3736  
    965965            {
    966966                VBoxSetRegionEvent *sre = (VBoxSetRegionEvent*) e;
    967                 if (mainwnd->isTrueSeamless())
     967                if (mainwnd->isTrueSeamless() &&
     968                    sre->region() != mLastVisibleRegion)
     969                {
     970                    mLastVisibleRegion = sre->region();
    968971                    mainwnd->setMask (sre->region());
     972                }
    969973                return true;
    970974            }
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