VirtualBox

Ignore:
Timestamp:
Mar 7, 2016 3:46:54 PM (9 years ago)
Author:
vboxsync
Message:

bugref:8087: Additions/x11: support non-root X server: revert r105407: do not start the display part of VBoxClient at all when not using the user space X.Org vboxvideo driver: all guest systems capable of running the kernel driver should already have equivalent functionality.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/x11/VBoxClient/display.cpp

    r59595 r59943  
    132132    char szCommand[256];
    133133    int status;
    134     Atom atomDummy;
    135     int iDummy;
    136     unsigned long ulDummy;
    137     unsigned char *pcDummy;
    138134
    139135    /* Initialise the guest library. */
     
    143139    pState->pDisplay = XOpenDisplay(NULL);
    144140    if (!pState->pDisplay)
    145         exit(0);
    146     XGetWindowProperty(pState->pDisplay, DefaultRootWindow(pState->pDisplay),
    147                        XInternAtom(pState->pDisplay, "VBOXVIDEO_DRIVER", 0), 0, 1, False,
    148                        AnyPropertyType, &atomDummy, &iDummy, &ulDummy, &ulDummy, &pcDummy);
    149     if (pcDummy == NULL)
    150         exit(0);
    151     XFree(pcDummy);
     141        return VERR_NOT_FOUND;
    152142    pState->fHaveRandR12 = false;
    153143    pState->pcszXrandr = "xrandr";
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