Changeset 52638 in vbox
- Timestamp:
- Sep 8, 2014 11:08:19 AM (10 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/runtime
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/fullscreen/UIMachineWindowFullscreen.cpp
r52558 r52638 401 401 m_pMiniToolBar->adjustGeometry(iHostScreen); 402 402 } 403 404 /* Make sure machine-view have focus: */ 405 m_pMachineView->setFocus(); 403 406 } 404 407 -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/normal/UIMachineViewNormal.cpp
r52246 r52638 87 87 } 88 88 } 89 90 #ifdef Q_WS_WIN91 else if (pWatched != 0 && pWatched == machineWindow()->menuBar())92 {93 /* Due to windows host uses separate 'focus set' to let menubar to94 * operate while popped up (see UIMachineViewNormal::event() for details),95 * it also requires backward processing: */96 switch (pEvent->type())97 {98 /* If menubar gets the focus while not popped up => give it back: */99 case QEvent::FocusIn:100 {101 if (!QApplication::activePopupWidget())102 setFocus();103 }104 default:105 break;106 }107 }108 #endif /* Q_WS_WIN */109 89 110 90 return UIMachineView::eventFilter(pWatched, pEvent); -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/normal/UIMachineWindowNormal.cpp
r52516 r52638 411 411 /* Show in normal mode: */ 412 412 show(); 413 414 /* Make sure machine-view have focus: */ 415 m_pMachineView->setFocus(); 413 416 } 414 417 -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/scale/UIMachineWindowScale.cpp
r52129 r52638 155 155 /* Show in normal mode: */ 156 156 show(); 157 158 /* Make sure machine-view have focus: */ 159 m_pMachineView->setFocus(); 157 160 } 158 161 -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/seamless/UIMachineWindowSeamless.cpp
r52382 r52638 211 211 } 212 212 #endif /* !Q_WS_MAC */ 213 214 /* Make sure machine-view have focus: */ 215 m_pMachineView->setFocus(); 213 216 } 214 217
Note:
See TracChangeset
for help on using the changeset viewer.