VirtualBox

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


Ignore:
Timestamp:
Apr 25, 2013 1:49:42 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
85287
Message:

FE/Qt: Keyboard handler: update a comment.

File:
1 edited

Legend:

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

    r45683 r45730  
    945945    /* It's possible that a key has been pressed while the keyboard was not
    946946     * captured, but is being released under the capture. Detect this situation
    947      * and return false to let Windows process the message normally and update
    948      * its key state table (to avoid the stuck key effect). */
    949     /** @todo Is there any reason why we can't generally return "false" for
    950      * key releases, even if we do process them?  It would let us drop this
    951      * hard-to-read logic. */
     947     * and do not pass on the key press to the virtual machine. */
    952948    uint8_t what_pressed =      (event.flags & 0x01)
    953949                             && (event.vkCode != VK_RSHIFT)
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