VirtualBox

Changeset 40367 in vbox


Ignore:
Timestamp:
Mar 5, 2012 10:36:38 PM (13 years ago)
Author:
vboxsync
Message:

In-progress command blocks keyboard input.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Input/PS2K.cpp

    r40364 r40367  
    841841
    842842    /* Anything in the command queue has priority over data
    843      * in the keystroke queue.
     843     * in the keystroke queue. Additionally, keystrokes are
     844     * blocked if a command is currently in progress, even if
     845     * the command queue is empty.
    844846     */
    845847    rc = PS2RemoveQueue((GeneriQ *)&pThis->cmdQ, pVal);
    846     if (rc != VINF_SUCCESS && pThis->fScanning)
     848    if (rc != VINF_SUCCESS && !pThis->u8CurrCmd && pThis->fScanning)
    847849        rc = PS2RemoveQueue((GeneriQ *)&pThis->keyQ, pVal);
    848850
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