Changeset 1315 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Mar 7, 2007 10:05:44 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/VBoxConsoleView.cpp
r1288 r1315 117 117 if (EventClass == kEventClassKeyboard) 118 118 { 119 if ( view->darwinKeyboardEvent (inEvent) 120 && ::GetEventKind (inEvent) != kEventRawKeyModifiersChanged) 119 if (view->darwinKeyboardEvent (inEvent)) 121 120 return 0; 122 121 } 123 return CallNextEventHandler (inHandlerCallRef, inEvent);122 return ::CallNextEventHandler (inHandlerCallRef, inEvent); 124 123 } 125 124 … … 657 656 vboxProblem().cannotResumeMachine (cconsole); 658 657 } 658 #ifdef Q_WS_MAC /* A quick hack to prevent getting the typing-while-paused on Host-Q. */ 659 else if (on) 660 darwinGrabKeyboardEvents (false); 661 #endif 659 662 660 663 return ok; … … 1410 1413 m_darwinKeyModifiers = newMask; 1411 1414 1412 /* ret is intentionally false. */1415 ret = kbd_captured; //?? 1413 1416 } 1414 1417
Note:
See TracChangeset
for help on using the changeset viewer.