Changeset 43761 in vbox
- Timestamp:
- Oct 26, 2012 4:30:28 PM (12 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/runtime
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIFrameBufferQuartz2D.cpp
r43760 r43761 435 435 else 436 436 { 437 /* Main (IDisplay) sending guest resize-event thinks that438 * width and/or height can be zero (0) if this frame-buffer is hidden,439 * we should just do a fallback to initial blackout440 * frame-buffer of 640x480 size (like we are doing for QImage frame-buffer): */441 if (m_width == 0 || m_height == 0)442 {443 m_width = 640;444 m_height = 480;445 }446 437 m_fUsesGuestVRAM = false; 447 438 remind = true; -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineView.cpp
r43760 r43761 928 928 || pResizeEvent->height() != frameBuffer()->height(); 929 929 930 /* Perform framebuffer resize: */ 931 frameBuffer()->resizeEvent(pResizeEvent); 932 933 if (fResize) 930 /* Perform framebuffer resize if parent window is visible: */ 931 if (uisession()->isScreenVisible(m_uScreenId)) 932 frameBuffer()->resizeEvent(pResizeEvent); 933 934 if (fResize && uisession()->isScreenVisible(m_uScreenId)) 934 935 { 935 936 /* Reapply maximum size restriction for machine-view: */
Note:
See TracChangeset
for help on using the changeset viewer.