Changeset 50354 in vbox
- Timestamp:
- Feb 6, 2014 5:14:05 PM (11 years ago)
- svn:sync-xref-src-repo-rev:
- 92096
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineLogic.cpp
r50309 r50354 1102 1102 case QEvent::WindowActivate: 1103 1103 { 1104 #ifdef Q_WS_WIN 1104 1105 /* We should save current lock states as *previous* and 1105 1106 * set current lock states to guest values we have, 1106 1107 * As we have no ipc between threads of different VMs 1107 * we are using 300ms timer as lazy sync timout: */ 1108 //QTimer::singleShot(300, this, SLOT(sltSwitchKeyboardLedsToGuestLeds())); 1109 1108 * we are using 100ms timer as lazy sync timout: */ 1109 keyboardHandler()->winSkipKeyboardEvents(true); 1110 QTimer::singleShot(100, this, SLOT(sltSwitchKeyboardLedsToGuestLeds())); 1111 #else /* Q_WS_WIN */ 1110 1112 /* Trigger callback synchronously for now! */ 1111 1113 sltSwitchKeyboardLedsToGuestLeds(); 1114 #endif /* !Q_WS_WIN */ 1112 1115 break; 1113 1116 }
Note:
See TracChangeset
for help on using the changeset viewer.