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