Changeset 34922 in vbox for trunk/src/VBox/Additions/x11/vboxvideo/vboxvideo.c
- Timestamp:
- Dec 9, 2010 7:59:27 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/vboxvideo/vboxvideo.c
r34911 r34922 1343 1343 uint32_t cPrimary, cIndex; 1344 1344 uint32_t cwReal, chReal; 1345 int32_t cxRel, cyRel, cxReal, cyReal ;1345 int32_t cxRel, cyRel, cxReal, cyReal, cxOld, cyOld; 1346 1346 1347 1347 TRACE_LOG("cDisplay=%u, cWidth=%u, cHeight=%u, x=%d, y=%d, displayWidth=%d\n", 1348 1348 cDisplay, cWidth, cHeight, x, y, pScrn->displayWidth); 1349 cPrimary = vboxGetPrimaryIndex(pScrn); 1350 cIndex = vboxGetRealLocationIndex(pScrn, cDisplay); 1351 if ( cDisplay == cPrimary 1352 && ( x != pVBox->aScreenLocation[cDisplay].x 1353 || y != pVBox->aScreenLocation[cDisplay].y)) 1354 fPrimaryMoved = TRUE; 1349 cxOld = pVBox->aScreenLocation[cDisplay].cx; 1350 cyOld = pVBox->aScreenLocation[cDisplay].cy; 1355 1351 pVBox->aScreenLocation[cDisplay].cx = cWidth; 1356 1352 pVBox->aScreenLocation[cDisplay].cy = cHeight; 1357 1353 pVBox->aScreenLocation[cDisplay].x = x; 1358 1354 pVBox->aScreenLocation[cDisplay].y = y; 1355 cPrimary = vboxGetPrimaryIndex(pScrn); 1356 cIndex = vboxGetRealLocationIndex(pScrn, cDisplay); 1357 if (cDisplay == cPrimary && (x != cxOld || y != cyOld)) 1358 fPrimaryMoved = TRUE; 1359 1359 cwReal = pVBox->aScreenLocation[cIndex].cx; 1360 1360 chReal = pVBox->aScreenLocation[cIndex].cy;
Note:
See TracChangeset
for help on using the changeset viewer.