Changeset 59943 in vbox for trunk/src/VBox/Additions/x11/VBoxClient
- Timestamp:
- Mar 7, 2016 3:46:54 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/VBoxClient/display.cpp
r59595 r59943 132 132 char szCommand[256]; 133 133 int status; 134 Atom atomDummy;135 int iDummy;136 unsigned long ulDummy;137 unsigned char *pcDummy;138 134 139 135 /* Initialise the guest library. */ … … 143 139 pState->pDisplay = XOpenDisplay(NULL); 144 140 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; 152 142 pState->fHaveRandR12 = false; 153 143 pState->pcszXrandr = "xrandr";
Note:
See TracChangeset
for help on using the changeset viewer.