VirtualBox

Changeset 54073 in vbox


Ignore:
Timestamp:
Feb 4, 2015 7:20:23 AM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
98019
Message:

FE/Qt: do not suppress key release events when the host key is held down.

File:
1 edited

Legend:

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

    r53624 r54073  
    14831483     * Using that rule, we are NOT sending to the guest:
    14841484     * 1. the last key-press of host-combo,
    1485      * 2. all keys pressed while the host-combo being held. */
     1485     * 2. all keys pressed while the host-combo being held (but we still send releases). */
    14861486    LONG aCodesBuffer[16];
    14871487    LONG *pCodes = aCodesBuffer;
    14881488    uint uCodesCount = 0;
    14891489    if ((!m_bIsHostComboPressed && !isHostComboStateChanged) ||
    1490         ( m_bIsHostComboPressed &&  isHostComboStateChanged))
     1490        ( m_bIsHostComboPressed &&  isHostComboStateChanged) ||
     1491        !(fFlags & KeyPressed))
    14911492    {
    14921493        /* Special flags handling (KeyPrint): */
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette