- Timestamp:
- Jul 9, 2008 1:04:47 PM (17 years ago)
- Location:
- trunk/src/VBox/Frontends
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/VBoxConsoleView.cpp
r10395 r10414 1108 1108 emit resizeHintDone(); 1109 1109 1110 /* We also recalculate the desktop geometry if this is determined 1111 * automatically. In fact, we only need this on the first resize, 1112 * but it is done every time to keep the code simpler. */ 1113 calculateDesktopGeometry(); 1114 1110 1115 return true; 1111 1116 } … … 3570 3575 LogFlowFunc (("Will suggest %d x %d\n", sz.width(), sz.height())); 3571 3576 3572 /* Increase the maximum allowed size to the new size if needed. 3573 * We also recalculate the desktop geometry if this is determined 3574 * automatically. In fact, we only need this on the first resize, 3575 * but it is done every time to keep the code simpler. */ 3577 /* Increase the maximum allowed size to the new size if needed. */ 3576 3578 setDesktopGeoHint (sz.width(), sz.height()); 3577 calculateDesktopGeometry();3578 3579 3579 3580 mConsole.GetDisplay().SetVideoModeHint (sz.width(), sz.height(), 0, 0); -
trunk/src/VBox/Frontends/VirtualBox4/src/VBoxConsoleView.cpp
r10395 r10414 1149 1149 emit resizeHintDone(); 1150 1150 1151 /* We also recalculate the desktop geometry if this is determined 1152 * automatically. In fact, we only need this on the first resize, 1153 * but it is done every time to keep the code simpler. */ 1154 calculateDesktopGeometry(); 1155 1151 1156 return true; 1152 1157 } … … 3593 3598 LogFlowFunc (("Will suggest %d x %d\n", sz.width(), sz.height())); 3594 3599 3595 /* Increase the maximum allowed size to the new size if needed. 3596 * We also recalculate the desktop geometry if this is determined 3597 * automatically. In fact, we only need this on the first resize, 3598 * but it is done every time to keep the code simpler. */ 3600 /* Increase the maximum allowed size to the new size if needed. */ 3599 3601 setDesktopGeoHint (sz.width(), sz.height()); 3600 calculateDesktopGeometry();3601 3602 3602 3603 mConsole.GetDisplay().SetVideoModeHint (sz.width(), sz.height(), 0, 0);
Note:
See TracChangeset
for help on using the changeset viewer.