Changeset 94903 in vbox
- Timestamp:
- May 6, 2022 7:07:33 PM (3 years ago)
- svn:sync-xref-src-repo-rev:
- 151309
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/VBoxClient/display-svga-x11.cpp
r94770 r94903 1070 1070 x11Context.pScreenResources = x11Context.pXRRGetScreenResources(x11Context.pDisplay, x11Context.rootWindow); 1071 1071 #endif 1072 /* Currently without the VMWARE_CTRL extension we cannot connect outputs and set outputs' preferred mode. 1073 * So we set the output count to 1 to get the 1st output position correct. */ 1074 x11Context.hOutputCount = x11Context.fWmwareCtrlExtention ? determineOutputCount() : 1; 1072 x11Context.hOutputCount = RT_VALID_PTR(x11Context.pScreenResources) ? determineOutputCount() : 0; 1075 1073 #ifdef WITH_DISTRO_XRAND_XINERAMA 1076 1074 XRRFreeScreenResources(x11Context.pScreenResources); … … 1378 1376 x11Context.pScreenResources = x11Context.pXRRGetScreenResources(x11Context.pDisplay, x11Context.rootWindow); 1379 1377 #endif 1380 x11Context.hOutputCount = x11Context.fWmwareCtrlExtention ? determineOutputCount() : 1; 1381 1378 1379 x11Context.hOutputCount = RT_VALID_PTR(x11Context.pScreenResources) ? determineOutputCount() : 0; 1382 1380 if (!x11Context.pScreenResources) 1383 1381 {
Note:
See TracChangeset
for help on using the changeset viewer.