VirtualBox

Changeset 9018 in vbox for trunk/src/VBox


Ignore:
Timestamp:
May 21, 2008 2:03:01 PM (17 years ago)
Author:
vboxsync
Message:

Additions/x11: rename the graphics driver output to VBOX1 and only enable dynamic resizing if our graphics driver is running on the display the client is connected to

Location:
trunk/src/VBox/Additions/x11
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/x11/installer/VBoxRandR.sh

    r8437 r9018  
    4040fi
    4141
     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).
    4244if 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
    4546  exit
    4647fi
    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
    4852xrefresh 2>&1 > /dev/null
  • trunk/src/VBox/Additions/x11/xgraphics/vboxvideo_13.c

    r8949 r9018  
    750750
    751751    /* Set up our single virtual output. */
    752     output = xf86OutputCreate(pScrn, &VBOXOutputFuncs, "Virtual Output");
     752    output = xf86OutputCreate(pScrn, &VBOXOutputFuncs, "VBOX1");
    753753
    754754    /* Set a sane minimum mode size and the maximum allowed by the available VRAM */
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette