VirtualBox

Ignore:
Timestamp:
Aug 25, 2009 8:44:52 PM (15 years ago)
Author:
vboxsync
Message:

FE/Qt: support re-enabling of the host mouse cursor by the guest

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

Legend:

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

    r21772 r22447  
    344344    bool mPassCAD;
    345345    bool mHideHostPointer;
     346    QCursor mLastCursor;
    346347};
    347348
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxConsoleView.cpp

    r22307 r22447  
    38363836
    38373837#endif
    3838         if (!ok)
     3838        if (ok)
     3839            mLastCursor = viewport()->cursor();
     3840        else
    38393841            viewport()->unsetCursor();
    38403842    }
     
    38463848        if (me->isVisible())
    38473849        {
    3848             /*
    3849              * We're supposed to make the last shape we got visible.
    3850              * We don't support that for now...
    3851              */
    3852             /// @todo viewport()->setCursor (QCursor());
     3850            viewport()->setCursor (mLastCursor);
    38533851        }
    38543852        else
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