VirtualBox

Changeset 85473 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Jul 27, 2020 6:05:42 PM (4 years ago)
Author:
vboxsync
Message:

DnD/VBoxClient: Deliver data to X in URI list format.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/x11/VBoxClient/draganddrop.cpp

    r85371 r85473  
    19331933        case VBGLR3GUESTDNDMETADATATYPE_URI_LIST:
    19341934        {
    1935             VBClLogInfo(("URI transfer root directory is '%s'\n", DnDTransferListGetRootPathAbs(&pMeta->u.URI.Transfer)));
    1936 
    1937             /* Note: The transfer list already has its root set to a temporary directory, so no need to set/add a new
    1938              *       path base here. */
    1939             rc = DnDTransferListGetRootsEx(&pMeta->u.URI.Transfer, DNDTRANSFERLISTFMT_NATIVE, NULL /* pszPathBase */,
     1935            const char *pcszRootPath = DnDTransferListGetRootPathAbs(&pMeta->u.URI.Transfer);
     1936            AssertPtrBreakStmt(pcszRootPath, VERR_INVALID_POINTER);
     1937
     1938            VBClLogInfo("Transfer list root directory is '%s'\n", pcszRootPath);
     1939
     1940            /* Note: Use the URI format here, as X' DnD spec says so. */
     1941            rc = DnDTransferListGetRootsEx(&pMeta->u.URI.Transfer, DNDTRANSFERLISTFMT_URI, pcszRootPath,
    19401942                                           DND_PATH_SEPARATOR, (char **)&pvData, &cbData);
    19411943            break;
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