Changeset 53364 in vbox for trunk/src/VBox
- Timestamp:
- Nov 20, 2014 5:22:31 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineView.cpp
r53363 r53364 214 214 if (uisession()->isScreenVisible(m_uScreenId)) 215 215 { 216 /* Check if that notify-change brings actual resize-event: */ 217 const bool fActualResize = frameBuffer()->width() != iWidth || 218 frameBuffer()->height() != iHeight; 219 216 220 // TODO: Move to appropriate place! 217 221 /* Adjust 'scale' mode for current machine-view size: */ … … 241 245 machineWindow()->centralWidget()->update(); 242 246 243 /* Normalize machine-window geometry: */244 if (visualStateType() == UIVisualStateType_Normal )247 /* Normalize 'normal' machine-window geometry if necessary: */ 248 if (visualStateType() == UIVisualStateType_Normal && fActualResize) 245 249 machineWindow()->normalizeGeometry(true /* adjust position */); 246 250 }
Note:
See TracChangeset
for help on using the changeset viewer.