Changeset 50513 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Feb 19, 2014 6:20:21 PM (11 years ago)
- svn:sync-xref-src-repo-rev:
- 92356
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineLogic.cpp
r50510 r50513 1131 1131 * As we have no ipc between threads of different VMs 1132 1132 * we are using 100ms timer as lazy sync timout: */ 1133 keyboardHandler()->winSkipKeyboardEvents(true); 1134 QTimer::singleShot(100, this, SLOT(sltSwitchKeyboardLedsToGuestLeds())); 1133 1134 /* On Windows host we should do that only in case if sync 1135 * is enabled. Otherwise, keyboardHandler()->winSkipKeyboardEvents(false) 1136 * won't be called in sltSwitchKeyboardLedsToGuestLeds() and guest 1137 * will loose keyboard input forever. */ 1138 if (isHidLedsSyncEnabled()) 1139 { 1140 keyboardHandler()->winSkipKeyboardEvents(true); 1141 QTimer::singleShot(100, this, SLOT(sltSwitchKeyboardLedsToGuestLeds())); 1142 } 1135 1143 #else /* Q_WS_WIN */ 1136 1144 /* Trigger callback synchronously for now! */
Note:
See TracChangeset
for help on using the changeset viewer.