VirtualBox

Ignore:
Timestamp:
Jul 23, 2021 7:40:54 PM (3 years ago)
Author:
vboxsync
Message:

Additions: Linux: VBoxClient: VMSVGA: fix monitor index calculation.

Index calculation was broken in r145042. Restoring it.

File:
1 edited

Legend:

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

    r90218 r90324  
    551551            }
    552552
    553             int iMonitorID = getMonitorIdFromName(pszMonitorName);
     553            int iMonitorID = getMonitorIdFromName(pszMonitorName) - 1;
    554554            XFree((void *)pszMonitorName);
    555555            pszMonitorName = NULL;
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