Changeset 86072 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Sep 9, 2020 10:13:28 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineLogic.cpp
r86046 r86072 1990 1990 /* Toggle guest-autoresize feature for all view(s)! */ 1991 1991 foreach(UIMachineWindow *pMachineWindow, machineWindows()) 1992 { 1992 1993 pMachineWindow->machineView()->setGuestAutoresizeEnabled(fEnabled); 1994 /* Normalize machine windows if auto resize option is toggled to true. */ 1995 if (fEnabled) 1996 { 1997 /* Exit maximized window state if actual: */ 1998 if (pMachineWindow->isMaximized()) 1999 pMachineWindow->showNormal(); 2000 2001 /* Normalize window geometry: */ 2002 pMachineWindow->normalizeGeometry(true /* adjust position */, true /* resize window to guest display size */); 2003 } 2004 } 1993 2005 } 1994 2006
Note:
See TracChangeset
for help on using the changeset viewer.