Changeset 99937 in vbox for trunk/src/VBox/HostServices/SharedClipboard
- Timestamp:
- May 23, 2023 3:38:52 PM (20 months ago)
- Location:
- trunk/src/VBox/HostServices/SharedClipboard
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedClipboard/VBoxSharedClipboardSvc-transfers.cpp
r98103 r99937 1868 1868 RT_ZERO(creationCtx); 1869 1869 1870 if (enmDir == SHCLTRANSFERDIR_FROM_REMOTE) 1870 if (enmDir == SHCLTRANSFERDIR_FROM_REMOTE) /* Guest -> Host. */ 1871 1871 { 1872 1872 creationCtx.Interface.pfnRootsGet = shClSvcTransferIfaceGetRoots; … … 1881 1881 creationCtx.Interface.pfnObjRead = shClSvcTransferIfaceObjRead; 1882 1882 } 1883 else if (enmDir == SHCLTRANSFERDIR_TO_REMOTE) 1883 else if (enmDir == SHCLTRANSFERDIR_TO_REMOTE) /* Host -> Guest. */ 1884 1884 { 1885 1885 creationCtx.Interface.pfnListHdrWrite = shClSvcTransferIfaceListHdrWrite; -
trunk/src/VBox/HostServices/SharedClipboard/VBoxSharedClipboardSvc-x11.cpp
r98103 r99937 505 505 RT_NOREF(pBackend); 506 506 #ifdef VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS_HTTP 507 return ShClHttpTransferRegister (&pClient->State.pCtx->X11.HttpCtx, pTransfer);507 return ShClHttpTransferRegisterAndMaybeStart(&pClient->State.pCtx->X11.HttpCtx, pTransfer); 508 508 #else 509 509 RT_NOREF(pClient, pTransfer); … … 516 516 RT_NOREF(pBackend); 517 517 #ifdef VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS_HTTP 518 return ShClHttpTransferUnregister (&pClient->State.pCtx->X11.HttpCtx, pTransfer);518 return ShClHttpTransferUnregisterAndMaybeStop(&pClient->State.pCtx->X11.HttpCtx, pTransfer); 519 519 #else 520 520 RT_NOREF(pClient, pTransfer);
Note:
See TracChangeset
for help on using the changeset viewer.