Changeset 55723 in vbox for trunk/src/VBox/Additions
- Timestamp:
- May 7, 2015 1:28:10 PM (10 years ago)
- Location:
- trunk/src/VBox/Additions/x11
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/undefined_xorg
r55472 r55723 108 108 RRCrtcNotify 109 109 RRGetInfo 110 RRScreenSize Notify110 RRScreenSizeSet 111 111 RRTellChanged 112 112 setenv -
trunk/src/VBox/Additions/x11/vboxvideo/vboxvideo.c
r55559 r55723 1071 1071 xf86ScrnToScreen(pScrn)->width = cx; 1072 1072 xf86ScrnToScreen(pScrn)->height = cy; 1073 #if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) >= 141074 xf86UpdateDesktopDimensions();1075 #elif GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) >= 121076 screenInfo.width = cx;1077 screenInfo.height = cy;1078 #endif1079 1073 adjustScreenPixmap(pScrn, cx, cy); 1080 1074 vbvxSetSolarisMouseRange(cx, cy); … … 1124 1118 if (!fLimitedContext) 1125 1119 { 1126 RRScreenSizeNotify(xf86ScrnToScreen(pScrn)); 1120 /* We use RRScreenSizeSet() here and not RRScreenSizeNotify() because 1121 * the first also pushes the virtual screen size to the input driver. 1122 * We were doing this manually by setting screenInfo.width and height 1123 * and calling xf86UpdateDesktopDimensions() where appropriate, but this 1124 * failed on Ubuntu 12.04.0 due to a problematic X server back-port. */ 1125 RRScreenSizeSet(xf86ScrnToScreen(pScrn), xf86ScrnToScreen(pScrn)->width, xf86ScrnToScreen(pScrn)->height, 1126 xf86ScrnToScreen(pScrn)->mmWidth, xf86ScrnToScreen(pScrn)->mmHeight); 1127 1127 RRTellChanged(xf86ScrnToScreen(pScrn)); 1128 1128 }
Note:
See TracChangeset
for help on using the changeset viewer.