VirtualBox

Changeset 84045 in vbox


Ignore:
Timestamp:
Apr 28, 2020 12:36:28 PM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
137620
Message:

bugref:9637. Calling vmware_ctrl before getting screen resources. that enables us reusing modes ctrl extension has already created.

File:
1 edited

Legend:

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

    r84026 r84045  
    11141114static void setXrandrTopology(struct RANDROUTPUT *paOutputs)
    11151115{
     1116    XGrabServer(x11Context.pDisplay);
     1117    callVMWCTRL(paOutputs);
     1118
    11161119#ifdef WITH_DISTRO_XRAND_XINERAMA
    11171120    x11Context.pScreenResources = XRRGetScreenResources(x11Context.pDisplay, x11Context.rootWindow);
     
    11231126
    11241127    if (!x11Context.pScreenResources)
     1128    {
     1129        XUngrabServer(x11Context.pDisplay);
    11251130        return;
    1126 
    1127     XGrabServer(x11Context.pDisplay);
    1128     callVMWCTRL(paOutputs);
     1131    }
     1132
    11291133    /* Disable crtcs. */
    11301134    for (int i = 0; i < x11Context.pScreenResources->noutput; ++i)
Note: See TracChangeset for help on using the changeset viewer.

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