- Timestamp:
- May 31, 2010 4:12:02 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineView.cpp
r29825 r29918 618 618 619 619 #ifdef Q_WS_X11 620 /* Processing pseudo resize-event to synchronize frame-buffer with stored framebuffer size: */ 621 QSize size = guestSizeHint(); 622 UIResizeEvent event(FramebufferPixelFormat_Opaque, NULL, 0, 0, size.width(), size.height()); 623 frameBuffer()->resizeEvent(&event); 620 /* Processing pseudo resize-event to synchronize frame-buffer 621 * with stored framebuffer size in case of machine state was 'saved': */ 622 if (session().GetMachine().GetState() == KMachineState_Saved) 623 { 624 QSize size = guestSizeHint(); 625 UIResizeEvent event(FramebufferPixelFormat_Opaque, NULL, 0, 0, size.width(), size.height()); 626 frameBuffer()->resizeEvent(&event); 627 } 624 628 #endif /* Q_WS_X11 */ 625 629 }
Note:
See TracChangeset
for help on using the changeset viewer.