Changeset 8628 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- May 6, 2008 2:35:21 PM (17 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/VBoxConsoleView.cpp
r8444 r8628 157 157 158 158 /* For debugging events */ 159 /* 159 /* 160 160 if (!(eventKind == kEventWindowActivated || 161 161 eventClass == 0x63757465)) … … 2238 2238 void VBoxConsoleView::toggleFSMode() 2239 2239 { 2240 if (mIsAdditionsActive && mAutoresizeGuest) 2240 if ((mIsAdditionsActive && mAutoresizeGuest) || 2241 mMainWnd->isTrueFullscreen()) 2241 2242 { 2242 2243 QSize newSize = QSize(); … … 3505 3506 void VBoxConsoleView::doResizeHint (const QSize &aToSize) 3506 3507 { 3507 if (mIsAdditionsActive && mAutoresizeGuest) 3508 if ((mIsAdditionsActive && mAutoresizeGuest) || 3509 mMainWnd->isTrueFullscreen()) 3508 3510 { 3509 3511 /* If this slot is invoked directly then use the passed size … … 3519 3521 setDesktopGeometry(sz.width(), sz.height()); 3520 3522 3521 mConsole.GetDisplay().SetVideoModeHint (sz.width(), sz.height(), 0, 0); 3523 if (mIsAdditionsActive) 3524 mConsole.GetDisplay().SetVideoModeHint (sz.width(), sz.height(), 0, 0); 3522 3525 } 3523 3526 } -
trunk/src/VBox/Frontends/VirtualBox/src/VBoxConsoleWnd.cpp
r8513 r8628 1028 1028 * we requested. So after all the resizing stuff set the clipping 1029 1029 * mask and the spacing shifter to the corresponding values. */ 1030 setViewInSeamlessMode (QRect (console->mapToGlobal (QPoint(0, 0)), console->size()));1030 setViewInSeamlessMode (QRect (console->mapToGlobal (QPoint (0, 0)), console->size())); 1031 1031 #ifdef Q_WS_MAC 1032 1032 if (!mIsSeamless) … … 1042 1042 if (mIsSeamless) 1043 1043 connect (console, SIGNAL (resizeHintDone()), 1044 this, SLOT(exitSeamless())); 1045 else if (mIsFullscreen) 1046 connect (console, SIGNAL (resizeHintDone()), 1047 this, SLOT(exitFullscreen())); 1044 this, SLOT (exitSeamless())); 1045 /* disabled for now */ 1046 //else if (mIsFullscreen) 1047 // connect (console, SIGNAL (resizeHintDone()), 1048 // this, SLOT (exitFullscreen())); 1048 1049 } 1049 1050 … … 1077 1078 void VBoxConsoleWnd::exitFullscreen() 1078 1079 { 1080 Assert (0); /* disabled for now */ 1079 1081 if (mIsFullscreen && vmFullscreenAction->isEnabled()) 1080 1082 vmFullscreenAction->toggle();
Note:
See TracChangeset
for help on using the changeset viewer.