VirtualBox

Changeset 84216 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
May 8, 2020 2:38:27 PM (5 years ago)
Author:
vboxsync
Message:

bugref:9637. Set monitor count to 1 when VMWARE_CTRL is not available

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/x11/VBoxClient/display-svga-x11.cpp

    r84173 r84216  
    860860        x11Context.pScreenResources = x11Context.pXRRGetScreenResources(x11Context.pDisplay, x11Context.rootWindow);
    861861#endif
    862     x11Context.hOutputCount = determineOutputCount();
     862    /* Currently without the VMWARE_CTRL extension we cannot connect outputs and set outputs' preferred mode.
     863     * So we set the output count to 1 to get the 1st output position correct. */
     864    x11Context.hOutputCount = x11Context.fWmwareCtrlExtention ? determineOutputCount() : 1;
    863865#ifdef WITH_DISTRO_XRAND_XINERAMA
    864866    XRRFreeScreenResources(x11Context.pScreenResources);
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