Changeset 43310 in vbox for trunk/src/VBox/Additions
- Timestamp:
- Sep 12, 2012 11:32:34 AM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 80731
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/vboxvideo/vbva.c
r43245 r43310 59 59 return; 60 60 61 for (i = 0; i < iRects; ++i) 62 for (j = 0; j < pVBox->cScreens; ++j) 61 for (j = 0; j < pVBox->cScreens; ++j) 62 { 63 /* Just continue quietly if VBVA is not currently active. */ 64 struct VBVABUFFER *pVBVA = pVBox->aVbvaCtx[j].pVBVA; 65 if ( !pVBVA 66 || !(pVBVA->hostFlags.u32HostEvents & VBVA_F_MODE_ENABLED)) 67 continue; 68 for (i = 0; i < iRects; ++i) 63 69 { 64 /* Just continue quietly if VBVA is not currently active. */65 struct VBVABUFFER *pVBVA = pVBox->aVbvaCtx[j].pVBVA;66 if ( !pVBVA67 || !(pVBVA->hostFlags.u32HostEvents & VBVA_F_MODE_ENABLED))68 continue;69 70 if ( aRects[i].x1 > pVBox->aScreenLocation[j].x 70 71 + pVBox->aScreenLocation[j].cx … … 92 93 } 93 94 } 95 } 94 96 } 95 97 … … 121 123 int rc = VINF_SUCCESS; 122 124 125 /* Why is this here? In case things break before we have found the real 126 * count? */ 123 127 pVBox->cScreens = 1; 124 128 if (!VBoxHGSMIIsSupported())
Note:
See TracChangeset
for help on using the changeset viewer.