Changeset 50693 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Mar 5, 2014 9:03:03 AM (11 years ago)
- svn:sync-xref-src-repo-rev:
- 92641
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIKeyboardHandler.cpp
r50683 r50693 1213 1213 if ((fFlags & KeyPressed) || (m_pressedKeys[uScan] & uWhatPressed)) 1214 1214 { 1215 /* Check if the guest has the same view on the modifier keys 1216 * (NumLock, CapsLock, ScrollLock) as the X server. */ 1217 #if !defined(Q_WS_MAC) 1218 /* If there is no HID LEDs sync enabled or supported 1219 * we should re-sync keyboard LEDs and state following this way. */ 1215 /* If HID LEDs sync is disabled or not supported, check if the guest has the 1216 * same view on the modifier keys (NumLock, CapsLock, ScrollLock) as the host. */ 1220 1217 if (!machineLogic()->isHidLedsSyncEnabled()) 1221 1218 if (fFlags & KeyPressed) 1222 1219 fixModifierState(pCodes, puCodesCount); 1223 #endif1224 1220 1225 1221 /* Prepend 'extended' scancode if needed: */
Note:
See TracChangeset
for help on using the changeset viewer.