VirtualBox

Ignore:
Timestamp:
May 28, 2020 8:49:54 AM (5 years ago)
Author:
vboxsync
Message:

bugref:9637. Some fixes

File:
1 edited

Legend:

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

    r84547 r84579  
    184184    drmConnect(&drmContext);
    185185    if (drmContext.hDevice == NIL_RTFILE)
    186         return VINF_SUCCESS;
     186        return VERR_OPEN_FAILED;
    187187    rc = VbglR3CtlFilterMask(VMMDEV_EVENT_DISPLAY_CHANGE_REQUEST, 0);
    188188    if (RT_FAILURE(rc))
     189    {
    189190        VBClLogFatalError("Failed to request display change events, rc=%Rrc\n", rc);
     191        return VERR_INVALID_HANDLE;
     192    }
    190193    rc = VbglR3AcquireGuestCaps(VMMDEV_GUEST_SUPPORTS_GRAPHICS, 0, false);
    191194    if (rc == VERR_RESOURCE_BUSY)  /* Someone else has already acquired it. */
    192         return VINF_SUCCESS;
     195    {
     196        return VERR_RESOURCE_BUSY;
     197    }
    193198    if (RT_FAILURE(rc))
     199    {
    194200        VBClLogFatalError("Failed to register resizing support, rc=%Rrc\n", rc);
    195 
     201        return VERR_INVALID_HANDLE;
     202    }
    196203    for (;;)
    197204    {
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