Changeset 9018 in vbox for trunk/src/VBox
- Timestamp:
- May 21, 2008 2:03:01 PM (17 years ago)
- Location:
- trunk/src/VBox/Additions/x11
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/installer/VBoxRandR.sh
r8437 r9018 40 40 fi 41 41 42 # If we were called with the --test parameter, we check whether the display 43 # we are running on is really using the VBox video driver (and RandR 1.2). 42 44 if test "$1" = "--test"; then 43 version=`$randrbin -v 2>&1 | sed -n 's/[^0-9]*version 1\.\([0-9]*\)/\1/p'` 44 expr "$version" '>=' 2 2>&1 > /dev/null 45 $randrbin 2> /dev/null | grep VBOX1 45 46 exit 46 47 fi 47 $randrbin --output Virtual\ Output --preferred 48 49 # Otherwise we just switch the guest display into its preferred resolution, 50 # which is the one corresponding to the last video mode hint sent by the host. 51 $randrbin --output VBOX1 --preferred 48 52 xrefresh 2>&1 > /dev/null -
trunk/src/VBox/Additions/x11/xgraphics/vboxvideo_13.c
r8949 r9018 750 750 751 751 /* Set up our single virtual output. */ 752 output = xf86OutputCreate(pScrn, &VBOXOutputFuncs, "V irtual Output");752 output = xf86OutputCreate(pScrn, &VBOXOutputFuncs, "VBOX1"); 753 753 754 754 /* Set a sane minimum mode size and the maximum allowed by the available VRAM */
Note:
See TracChangeset
for help on using the changeset viewer.