Changeset 43760 in vbox
- Timestamp:
- Oct 26, 2012 3:52:17 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
r43159 r43760 435 435 else 436 436 { 437 /* Main (IDisplay) sending guest resize-event thinks that 438 * width and/or height can be zero (0) if this frame-buffer is hidden, 439 * we should just do a fallback to initial blackout 440 * 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 } 437 446 m_fUsesGuestVRAM = false; 438 447 remind = true; -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineView.cpp
r43758 r43760 918 918 return true; 919 919 920 /* We should not process resize-event if parent window is hidden: */921 if (!uisession()->isScreenVisible(m_uScreenId))922 return true;923 924 920 /* Get guest resize-event: */ 925 921 UIResizeEvent *pResizeEvent = static_cast<UIResizeEvent*>(pEvent);
Note:
See TracChangeset
for help on using the changeset viewer.