Changeset 84045 in vbox
- Timestamp:
- Apr 28, 2020 12:36:28 PM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 137620
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/VBoxClient/display-svga-x11.cpp
r84026 r84045 1114 1114 static void setXrandrTopology(struct RANDROUTPUT *paOutputs) 1115 1115 { 1116 XGrabServer(x11Context.pDisplay); 1117 callVMWCTRL(paOutputs); 1118 1116 1119 #ifdef WITH_DISTRO_XRAND_XINERAMA 1117 1120 x11Context.pScreenResources = XRRGetScreenResources(x11Context.pDisplay, x11Context.rootWindow); … … 1123 1126 1124 1127 if (!x11Context.pScreenResources) 1128 { 1129 XUngrabServer(x11Context.pDisplay); 1125 1130 return; 1126 1127 XGrabServer(x11Context.pDisplay); 1128 callVMWCTRL(paOutputs); 1131 } 1132 1129 1133 /* Disable crtcs. */ 1130 1134 for (int i = 0; i < x11Context.pScreenResources->noutput; ++i)
Note:
See TracChangeset
for help on using the changeset viewer.