Changeset 52346 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Aug 11, 2014 4:21:27 PM (11 years ago)
- svn:sync-xref-src-repo-rev:
- 95472
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/runtime
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/fullscreen/UIMachineLogicFullscreen.cpp
r52303 r52346 100 100 void UIMachineLogicFullscreen::maybeAdjustGuestScreenSize() 101 101 { 102 /* We should rebuild screen-layout: */102 /* Rebuild multi-screen layout: */ 103 103 m_pScreenLayout->rebuild(); 104 104 /* Make sure all machine-window(s) have proper geometry: */ … … 147 147 AssertReturnVoid(m_fullscreenMachineWindows.contains(pMachineWindow)); 148 148 149 /* Rebuild multi-screen layout: */ 150 m_pScreenLayout->rebuild(); 149 151 /* Revalidate native fullscreen: */ 150 152 revalidateNativeFullScreen(); … … 194 196 AssertReturnVoid(!m_invalidFullscreenMachineWindows.contains(pMachineWindow)); 195 197 198 /* Rebuild multi-screen layout: */ 199 m_pScreenLayout->rebuild(); 196 200 /* Revalidate native fullscreen: */ 197 201 revalidateNativeFullScreen(); … … 349 353 /* Make sure further code will be called just once: */ 350 354 uisession()->forgetPreviousMachineState(); 351 /* We should rebuild screen-layout: */355 /* Rebuild multi-screen layout: */ 352 356 m_pScreenLayout->rebuild(); 353 357 /* Make sure all machine-window(s) have proper geometry: */ … … 401 405 LogRel(("UIMachineLogicFullscreen: Guest-screen count changed.\n")); 402 406 403 /* Update multi-screen layout before any window update: */ 404 if (changeType == KGuestMonitorChangedEventType_Enabled || 405 changeType == KGuestMonitorChangedEventType_Disabled) 406 m_pScreenLayout->rebuild(); 407 /* Rebuild multi-screen layout: */ 408 m_pScreenLayout->rebuild(); 407 409 408 410 #ifdef Q_WS_MAC … … 422 424 LogRel(("UIMachineLogicFullscreen: Host-screen count changed.\n")); 423 425 424 /* Update multi-screen layout before any window update: */426 /* Rebuild multi-screen layout: */ 425 427 m_pScreenLayout->rebuild(); 426 428 -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/seamless/UIMachineLogicSeamless.cpp
r52275 r52346 88 88 void UIMachineLogicSeamless::maybeAdjustGuestScreenSize() 89 89 { 90 /* We should rebuild screen-layout: */90 /* Rebuild multi-screen layout: */ 91 91 m_pScreenLayout->rebuild(); 92 92 /* Make sure all machine-window(s) have proper geometry: */ … … 147 147 /* Make sure further code will be called just once: */ 148 148 uisession()->forgetPreviousMachineState(); 149 /* We should rebuild screen-layout: */149 /* Rebuild multi-screen layout: */ 150 150 m_pScreenLayout->rebuild(); 151 151 /* Make sure all machine-window(s) have proper geometry: */ … … 178 178 LogRel(("UIMachineLogicSeamless: Guest-screen count changed.\n")); 179 179 180 /* Update multi-screen layout before any window update: */ 181 if (changeType == KGuestMonitorChangedEventType_Enabled || 182 changeType == KGuestMonitorChangedEventType_Disabled) 183 m_pScreenLayout->rebuild(); 180 /* Rebuild multi-screen layout: */ 181 m_pScreenLayout->rebuild(); 184 182 185 183 /* Call to base-class: */ … … 191 189 LogRel(("UIMachineLogicSeamless: Host-screen count changed.\n")); 192 190 193 /* Update multi-screen layout before any window update: */191 /* Rebuild multi-screen layout: */ 194 192 m_pScreenLayout->rebuild(); 195 193
Note:
See TracChangeset
for help on using the changeset viewer.