VirtualBox

Changeset 35866 in vbox for trunk


Ignore:
Timestamp:
Feb 7, 2011 12:01:19 PM (14 years ago)
Author:
vboxsync
Message:

FE/Qt: 5245: GUI support for complex host-key combinations: Persisting host-combo state through processing hot-key combinations.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIKeyboardHandler.cpp

    r35864 r35866  
    308308
    309309    if (aReleaseHostKey)
     310    {
    310311        m_bIsHostComboPressed = false;
     312        m_pressedHostComboKeys.clear();
     313    }
    311314
    312315#ifdef Q_WS_MAC
     
    12721275                {
    12731276                    m_bIsHostComboAlone = false;
    1274                     m_pressedHostComboKeys.clear();
    12751277                    /* Process Host+<key> shortcuts.
    12761278                     * Currently, <key> is limited to alphanumeric chars.
     
    13041306                            if (fIsAutoConfirmed)
    13051307                                uisession()->setAutoCaptureDisabled(false);
    1306                             else
    1307                                 m_pressedHostComboKeys.clear();
    13081308                            /* Otherwise, the disable flag will be reset in the next
    13091309                             * machine-view's focus-in event (since may happen asynchronously
     
    13391339        {
    13401340            if (m_bIsHostComboPressed)
    1341                 m_bIsHostComboAlone = false;
     1341                m_bIsHostComboAlone = true;
    13421342        }
    13431343    }
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