Changeset 84579 in vbox for trunk/src/VBox/Additions/x11/VBoxClient
- Timestamp:
- May 28, 2020 8:49:54 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/VBoxClient/display-drm.cpp
r84547 r84579 184 184 drmConnect(&drmContext); 185 185 if (drmContext.hDevice == NIL_RTFILE) 186 return V INF_SUCCESS;186 return VERR_OPEN_FAILED; 187 187 rc = VbglR3CtlFilterMask(VMMDEV_EVENT_DISPLAY_CHANGE_REQUEST, 0); 188 188 if (RT_FAILURE(rc)) 189 { 189 190 VBClLogFatalError("Failed to request display change events, rc=%Rrc\n", rc); 191 return VERR_INVALID_HANDLE; 192 } 190 193 rc = VbglR3AcquireGuestCaps(VMMDEV_GUEST_SUPPORTS_GRAPHICS, 0, false); 191 194 if (rc == VERR_RESOURCE_BUSY) /* Someone else has already acquired it. */ 192 return VINF_SUCCESS; 195 { 196 return VERR_RESOURCE_BUSY; 197 } 193 198 if (RT_FAILURE(rc)) 199 { 194 200 VBClLogFatalError("Failed to register resizing support, rc=%Rrc\n", rc); 195 201 return VERR_INVALID_HANDLE; 202 } 196 203 for (;;) 197 204 {
Note:
See TracChangeset
for help on using the changeset viewer.