Changeset 83173 in vbox for trunk/src/VBox/Additions
- Timestamp:
- Feb 27, 2020 2:12:10 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/VBoxClient/display-svga-x11.cpp
r83142 r83173 171 171 else 172 172 { 173 getMonitorIdFromName("virtual123");174 173 mpMonitorPositions = (RTPOINT*)malloc(x11Context.hOutputCount * sizeof(RTPOINT)); 175 174 /** @todo memset? */ … … 192 191 } 193 192 if (iMonitorCount > 0) 194 mHostMonitorPositionSendCallback(mpMonitorPositions, x11Context.hOutputCount);193 sendMonitorPositions(mpMonitorPositions, x11Context.hOutputCount); 195 194 } 196 195 XRRFreeMonitors(pMonitorInfo); … … 307 306 XCloseDisplay(x11Context.pDisplay); 308 307 x11Context.pDisplay = NULL; 308 return; 309 309 } 310 310 if (!XRRQueryExtension(x11Context.pDisplay, &x11Context.hRandREventBase, &x11Context.hRandRErrorBase)) … … 312 312 XCloseDisplay(x11Context.pDisplay); 313 313 x11Context.pDisplay = NULL; 314 return; 314 315 } 315 316 if (!XRRQueryVersion(x11Context.pDisplay, &x11Context.hRandRMajor, &x11Context.hRandRMinor)) … … 317 318 XCloseDisplay(x11Context.pDisplay); 318 319 x11Context.pDisplay = NULL; 320 return; 319 321 } 320 322 x11Context.hEventMask = 0;
Note:
See TracChangeset
for help on using the changeset viewer.