VirtualBox

Changeset 45079 in vbox


Ignore:
Timestamp:
Mar 19, 2013 5:48:07 AM (12 years ago)
Author:
vboxsync
Message:

FE/Qt: Runtime UI: Multi-screen support for seamless/fullscreen mode: Deliver guest-monitor-change event to all the machine-windows as either one of them could be affected.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineLogic.cpp

    r44982 r45079  
    448448#endif /* Q_WS_MAC */
    449449
    450 void UIMachineLogic::sltGuestMonitorChange(KGuestMonitorChangedEventType, ulong uScreenId, QRect)
    451 {
    452     /* Deliver event to corresponding machine-window: */
    453     if (uScreenId < (ulong)machineWindows().size())
    454         machineWindows()[uScreenId]->handleScreenCountChange();
     450void UIMachineLogic::sltGuestMonitorChange(KGuestMonitorChangedEventType, ulong, QRect)
     451{
     452    /* Deliver event to all machine-windows: */
     453    foreach (UIMachineWindow *pMachineWindow, machineWindows())
     454        pMachineWindow->handleScreenCountChange();
    455455}
    456456
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette