Changeset 62226 in vbox for trunk/src/VBox
- Timestamp:
- Jul 13, 2016 4:47:45 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/normal/UIMachineWindowNormal.cpp
r62225 r62226 547 547 frGeo.setBottom(frGeo.bottom() + sh.height()); 548 548 549 /* Calculate common bound region: */ 550 QRegion region; 551 for (int iScreenIndex = 0; iScreenIndex < vboxGlobal().screenCount(); ++iScreenIndex) 552 { 553 /* Get enumerated screen's available area: */ 554 QRect rect = vboxGlobal().availableGeometry(iScreenIndex); 555 /* Append rectangle: */ 556 region += rect; 557 } 558 549 559 /* Adjust position if necessary: */ 550 560 if (fAdjustPosition) 551 frGeo = VBoxGlobal::normalizeGeometry(frGeo, vboxGlobal().availableGeometry(pos()));561 frGeo = VBoxGlobal::normalizeGeometry(frGeo, region); 552 562 553 563 /* Finally, set the frame geometry: */
Note:
See TracChangeset
for help on using the changeset viewer.