Changeset 95145 in vbox for trunk/src/VBox/Additions/x11/VBoxClient/display-svga-x11.cpp
- Timestamp:
- May 31, 2022 10:40:51 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/VBoxClient/display-svga-x11.cpp
r94978 r95145 1342 1342 x11Context.pXRRDestroyMode(x11Context.pDisplay, aPrevMode[outputId]); 1343 1343 #endif 1344 } 1345 1346 aPrevMode[outputId] = pModeInfo->id; 1344 /* Forget destroyed mode. */ 1345 aPrevMode[outputId] = 0; 1346 } 1347 1348 /* Only cache modes created "by us". XRRDestroyMode will complain if provided mode 1349 * was not created by XRRCreateMode call. */ 1350 if (fNewMode) 1351 aPrevMode[outputId] = pModeInfo->id; 1347 1352 1348 1353 if (paOutputs[iOutputIndex].fPrimary) … … 1480 1485 if (!paOutputs[i].fEnabled) 1481 1486 continue; 1482 configureOutput(i, paOutputs); 1487 if (configureOutput(i, paOutputs)) 1488 VBClLogInfo("output[%d] successfully configured\n", i); 1489 else 1490 VBClLogError("failed to configure output[%d]\n", i); 1483 1491 } 1484 1492 XSync(x11Context.pDisplay, False);
Note:
See TracChangeset
for help on using the changeset viewer.