VirtualBox

Changeset 57760 in vbox for trunk/src


Ignore:
Timestamp:
Sep 15, 2015 2:06:45 PM (9 years ago)
Author:
vboxsync
Message:

DnD/HostService: Never block a GUEST_DND_CONNECT call, as the clients do this when initializing and might get stuck if drag and drop is set to "disabled" at that time.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/DragAndDrop/service.cpp

    r57754 r57760  
    279279        /* Note: New since protocol version 2. */
    280280        case DragAndDropSvc::GUEST_DND_CONNECT:
     281        {
     282            /*
     283             * Never block the initial connect call, as the clients do this when
     284             * initializing and might get stuck if drag and drop is set to "disabled" at
     285             * that time.
     286             */
     287            rc = VINF_SUCCESS;
     288            break;
     289        }
     290        case DragAndDropSvc::GUEST_DND_HG_ACK_OP:
    281291            /* Fall through is intentional. */
    282         case DragAndDropSvc::GUEST_DND_HG_ACK_OP:
    283292        case DragAndDropSvc::GUEST_DND_HG_REQ_DATA:
     293            /* Fall through is intentional. */
    284294        case DragAndDropSvc::GUEST_DND_HG_EVT_PROGRESS:
    285295        {
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