VirtualBox

Changeset 10786 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Jul 21, 2008 4:15:45 PM (16 years ago)
Author:
vboxsync
Message:

FE/Qt4-OSX: Simulate right mouse click on HOST+left mouse click.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox4/src/VBoxConsoleView.cpp

    r10437 r10786  
    26832683        state |= KMouseButtonState_MiddleButton;
    26842684
     2685#ifdef Q_WS_MAC
     2686    /* Simulate the right click on
     2687     * Host+Left Mouse */
     2688    if (mIsHostkeyPressed &&
     2689        mIsHostkeyAlone &&
     2690        state == KMouseButtonState_LeftButton)
     2691        state = KMouseButtonState_RightButton;
     2692#endif /* Q_WS_MAC */
     2693
    26852694    int wheel = 0;
    26862695    if (aWheelDir == Qt::Vertical)
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