VirtualBox

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


Ignore:
Timestamp:
Feb 27, 2020 2:12:10 PM (5 years ago)
Author:
vboxsync
Message:

bugref:9637. Some fixes

File:
1 edited

Legend:

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

    r83142 r83173  
    171171    else
    172172    {
    173         getMonitorIdFromName("virtual123");
    174173        mpMonitorPositions = (RTPOINT*)malloc(x11Context.hOutputCount * sizeof(RTPOINT));
    175174        /** @todo memset? */
     
    192191        }
    193192        if (iMonitorCount > 0)
    194             mHostMonitorPositionSendCallback(mpMonitorPositions, x11Context.hOutputCount);
     193            sendMonitorPositions(mpMonitorPositions, x11Context.hOutputCount);
    195194    }
    196195    XRRFreeMonitors(pMonitorInfo);
     
    307306        XCloseDisplay(x11Context.pDisplay);
    308307        x11Context.pDisplay = NULL;
     308        return;
    309309    }
    310310    if (!XRRQueryExtension(x11Context.pDisplay, &x11Context.hRandREventBase, &x11Context.hRandRErrorBase))
     
    312312        XCloseDisplay(x11Context.pDisplay);
    313313        x11Context.pDisplay = NULL;
     314        return;
    314315    }
    315316    if (!XRRQueryVersion(x11Context.pDisplay, &x11Context.hRandRMajor, &x11Context.hRandRMinor))
     
    317318        XCloseDisplay(x11Context.pDisplay);
    318319        x11Context.pDisplay = NULL;
     320        return;
    319321    }
    320322    x11Context.hEventMask = 0;
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