Changeset 30407 in vbox for trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineView.cpp
- Timestamp:
- Jun 24, 2010 2:16:55 AM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 63033
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineView.cpp
r30348 r30407 231 231 UISession* UIMachineView::uisession() const 232 232 { 233 return machine WindowWrapper()->machineLogic()->uisession();233 return machineLogic()->uisession(); 234 234 } 235 235 … … 1105 1105 break; 1106 1106 } 1107 #if defined (Q_WS_WIN32)1107 #ifdef Q_WS_WIN 1108 1108 /* Install/uninstall low-level kbd hook on every activation/deactivation to: 1109 1109 * a) avoid excess hook calls when we're not active and … … 1127 1127 break; 1128 1128 } 1129 #endif /* defined (Q_WS_WIN32)*/1129 #endif /* Q_WS_WIN */ 1130 1130 #ifdef Q_WS_MAC 1131 1131 /* Install/remove the keyboard event handler: */ … … 1173 1173 viewport()->repaint(); 1174 1174 } 1175 /* reuse the focus event handler to uncapture everything*/1175 /* Reuse the focus event handler to uncapture everything: */ 1176 1176 if (hasFocus()) 1177 focusEvent 1177 focusEvent(false /* aHasFocus*/, false /* aReleaseHostKey */); 1178 1178 break; 1179 1179 } … … 1201 1201 } 1202 1202 } 1203 /* Reuse the focus event handler to capture input: */1203 /* Reuse the focus event handler to capture keyboard: */ 1204 1204 if (hasFocus()) 1205 1205 focusEvent(true /* aHasFocus */);
Note:
See TracChangeset
for help on using the changeset viewer.