Changeset 27193 in vbox
- Timestamp:
- Mar 9, 2010 12:34:46 AM (15 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/VBoxConsoleView.cpp
r27192 r27193 1171 1171 } 1172 1172 1173 void VBoxConsoleView::setAutoresizeGuest (bool on )1173 void VBoxConsoleView::setAutoresizeGuest (bool on, bool doHint) 1174 1174 { 1175 1175 if (mAutoresizeGuest != on) … … 1179 1179 maybeRestrictMinimumSize(); 1180 1180 1181 if (mGuestSupportsGraphics && mAutoresizeGuest )1181 if (mGuestSupportsGraphics && mAutoresizeGuest && doHint) 1182 1182 doResizeHint(); 1183 1183 } -
trunk/src/VBox/Frontends/VirtualBox/src/VBoxConsoleView.h
r27191 r27193 103 103 void updateHostCursor(); 104 104 105 void setAutoresizeGuest (bool on );105 void setAutoresizeGuest (bool on, bool doHint); 106 106 107 107 void onFullscreenChange (bool on); -
trunk/src/VBox/Frontends/VirtualBox/src/VBoxConsoleWnd.cpp
r27131 r27193 2049 2049 #endif 2050 2050 2051 mConsole->setAutoresizeGuest (on );2051 mConsole->setAutoresizeGuest (on, true); 2052 2052 } 2053 2053 … … 2796 2796 toggleFullscreenMode (true, true); 2797 2797 /* Disable auto-resizing if advanced graphics are not available */ 2798 mConsole->setAutoresizeGuest (mIsGraphicsSupported && mVmAutoresizeGuestAction->isChecked() );2798 mConsole->setAutoresizeGuest (mIsGraphicsSupported && mVmAutoresizeGuestAction->isChecked(), false); 2799 2799 mVmAutoresizeGuestAction->setEnabled (mIsGraphicsSupported); 2800 2800 }
Note:
See TracChangeset
for help on using the changeset viewer.