VirtualBox

Changeset 35047 in vbox


Ignore:
Timestamp:
Dec 14, 2010 12:20:33 AM (14 years ago)
Author:
vboxsync
Message:

Main: do not assume that the origin of the first monitor is zero

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/DisplayImpl.cpp

    r34835 r35047  
    946946    if (!mpDrv)
    947947        return;
    948     x2 = mpDrv->IConnector.cx;
    949     y2 = mpDrv->IConnector.cy;
     948    x2 = mpDrv->IConnector.cx + maFramebuffers[0].xOrigin;
     949    y2 = mpDrv->IConnector.cy + maFramebuffers[0].yOrigin;
    950950    for (unsigned i = 1; i < mcMonitors; ++i)
    951951    {
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