Changeset 55413 in vbox for trunk/src/VBox/Additions/x11/vboxvideo
- Timestamp:
- Apr 23, 2015 8:08:25 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/vboxvideo/vboxvideo.c
r55402 r55413 1054 1054 if (cx != 0 && cy != 0) 1055 1055 { 1056 if (fLimitedContext) 1057 { 1058 pScrn->virtualX = cx; 1059 pScrn->virtualY = cy; 1060 } 1061 else 1056 /* Do not set the virtual resolution in limited context as that can 1057 * cause problems setting up RandR 1.2 which needs it set to the 1058 * maximum size at this point. */ 1059 if (!fLimitedContext) 1062 1060 { 1063 1061 TRACE_LOG("cx=%u, cy=%u\n", cx, cy); … … 1105 1103 VBOXPtr pVBox = VBOXGetRec(pScrn); 1106 1104 1105 if (!fLimitedContext) 1106 { 1107 1107 # if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) >= 5 1108 RRGetInfo(xf86ScrnToScreen(pScrn), TRUE);1108 RRGetInfo(xf86ScrnToScreen(pScrn), TRUE); 1109 1109 # else 1110 RRGetInfo(xf86ScrnToScreen(pScrn));1110 RRGetInfo(xf86ScrnToScreen(pScrn)); 1111 1111 # endif 1112 } 1112 1113 setVirtualSizeRandR12(pScrn, fLimitedContext); 1113 1114 setScreenSizesRandR12(pScrn, fLimitedContext);
Note:
See TracChangeset
for help on using the changeset viewer.