Changeset 45730 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Apr 25, 2013 1:49:42 PM (12 years ago)
- svn:sync-xref-src-repo-rev:
- 85287
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIKeyboardHandler.cpp
r45683 r45730 945 945 /* It's possible that a key has been pressed while the keyboard was not 946 946 * 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. */ 952 948 uint8_t what_pressed = (event.flags & 0x01) 953 949 && (event.vkCode != VK_RSHIFT)
Note:
See TracChangeset
for help on using the changeset viewer.