Changeset 48688 in vbox
- Timestamp:
- Sep 25, 2013 4:06:20 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/normal/UIMachineViewNormal.cpp
r48644 r48688 80 80 case QEvent::Resize: 81 81 { 82 /* We call this on every resize as: 83 * * Window frame geometry can change on resize. 84 * * On X11 we set information here which becomes available 85 * asynchronously at an unknown time after window 86 * creation. As long as the information is not available 87 * we make a best guess. 88 */ 82 /* Recalculate max guest size: */ 83 setMaxGuestSize(); 84 /* And resize guest to current window size: */ 89 85 setMaxGuestSize(); 90 86 if (pEvent->spontaneous() && m_bIsGuestAutoresizeEnabled && uisession()->isGuestSupportsGraphics()) … … 249 245 { 250 246 /* 1) The calculation below is not reliable on some (X11) platforms until we 251 * have been visible for a fraction of a second, so so the best we can247 * have been visible for a fraction of a second, so do the best we can 252 248 * otherwise. 253 249 * 2) We also get called early before "machineWindow" has been fully
Note:
See TracChangeset
for help on using the changeset viewer.