VirtualBox

Changeset 55357 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Apr 21, 2015 3:34:01 PM (10 years ago)
Author:
vboxsync
Message:

Additions/x11/vboxvideo: fix first screen refresh if the screen is not at (0, 0) in the virtual desktop.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/x11/vboxvideo/vbva.c

    r55262 r55357  
    7979                || aRects[i].y2 <   pVBox->pScreens[j].aScreenLocation.y)
    8080                continue;
    81             cmdHdr.x = (int16_t)aRects[i].x1;
    82             cmdHdr.y = (int16_t)aRects[i].y1;
     81            cmdHdr.x = (int16_t)aRects[i].x1 - pVBox->pScreens[0].aScreenLocation.x;
     82            cmdHdr.y = (int16_t)aRects[i].y1 - pVBox->pScreens[0].aScreenLocation.y;
    8383            cmdHdr.w = (uint16_t)(aRects[i].x2 - aRects[i].x1);
    8484            cmdHdr.h = (uint16_t)(aRects[i].y2 - aRects[i].y1);
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