Changeset 29773 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- May 25, 2010 10:56:47 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineView.cpp
r29558 r29773 643 643 /* Setup focus policy: */ 644 644 setFocusPolicy(Qt::WheelFocus); 645 646 #if defined Q_WS_WIN647 gView = this;648 #endif649 645 650 646 #if defined Q_WS_PM … … 1178 1174 case QEvent::WindowActivate: 1179 1175 { 1176 gView = this; 1180 1177 gKbdHook = SetWindowsHookEx(WH_KEYBOARD_LL, lowLevelKeyboardProc, GetModuleHandle(NULL), 0); 1181 1178 AssertMsg(gKbdHook, ("SetWindowsHookEx(): err=%d", GetLastError())); … … 1188 1185 UnhookWindowsHookEx(gKbdHook); 1189 1186 gKbdHook = NULL; 1187 if (gView == this) 1188 gView = 0; 1190 1189 } 1191 1190 break;
Note:
See TracChangeset
for help on using the changeset viewer.