VirtualBox

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


Ignore:
Timestamp:
Feb 5, 2015 5:17:51 PM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
98050
Message:

FE/Qt: 7678: Runtime UI: Missed key-release events when the host-combo held down: Handle only key-release events for the keys which were previously pressed.

File:
1 edited

Legend:

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

    r54073 r54095  
    14871487    LONG *pCodes = aCodesBuffer;
    14881488    uint uCodesCount = 0;
     1489    uint8_t uWhatPressed = fFlags & KeyExtended ? IsExtKeyPressed : IsKeyPressed;
    14891490    if ((!m_bIsHostComboPressed && !isHostComboStateChanged) ||
    14901491        ( m_bIsHostComboPressed &&  isHostComboStateChanged) ||
    1491         !(fFlags & KeyPressed))
     1492        (!(fFlags & KeyPressed) && (m_pressedKeys[uScan] & uWhatPressed)))
    14921493    {
    14931494        /* 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