Changeset 27252 in vbox for trunk/src/VBox
- Timestamp:
- Mar 10, 2010 2:53:19 PM (15 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/runtime
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/fullscreen/UIMachineViewFullscreen.cpp
r27237 r27252 240 240 void UIMachineViewFullscreen::cleanupFullscreen() 241 241 { 242 if (m_bIsGuestAutoresizeEnabled && uisession()->isGuestSupportsGraphics()) 243 { 244 /* Rollback fullscreen frame-buffer size to normal: */ 245 machineWindowWrapper()->machineWindow()->hide(); 246 UIMachineViewBlocker blocker(this); 247 sltPerformGuestResize(uisession()->guestSizeHint(screenId())); 248 blocker.exec(); 242 /* If machine still running: */ 243 if (uisession()->isRunning()) 244 { 245 /* And guest supports advanced graphics management which is enabled: */ 246 if (m_bIsGuestAutoresizeEnabled && uisession()->isGuestSupportsGraphics()) 247 { 248 /* Rollback fullscreen frame-buffer size to normal: */ 249 machineWindowWrapper()->machineWindow()->hide(); 250 UIMachineViewBlocker blocker(this); 251 sltPerformGuestResize(uisession()->guestSizeHint(screenId())); 252 blocker.exec(); 253 } 249 254 } 250 255 } -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/seamless/UIMachineViewSeamless.cpp
r27249 r27252 259 259 void UIMachineViewSeamless::cleanupSeamless() 260 260 { 261 /* Reset seamless feature flag of the guest: */261 /* If machine still running: */ 262 262 if (uisession()->isRunning()) 263 { 264 /* Reset seamless feature flag of the guest: */ 263 265 session().GetConsole().GetDisplay().SetSeamlessMode(false); 264 266 265 /* Rollback seamless frame-buffer size to normal: */ 266 machineWindowWrapper()->machineWindow()->hide(); 267 UIMachineViewBlocker blocker(this); 268 sltPerformGuestResize(uisession()->guestSizeHint(screenId())); 269 blocker.exec(); 267 /* Rollback seamless frame-buffer size to normal: */ 268 machineWindowWrapper()->machineWindow()->hide(); 269 UIMachineViewBlocker blocker(this); 270 sltPerformGuestResize(uisession()->guestSizeHint(screenId())); 271 blocker.exec(); 272 } 270 273 } 271 274
Note:
See TracChangeset
for help on using the changeset viewer.