Changeset 105630 in vbox for trunk/src/VBox/HostServices
- Timestamp:
- Aug 8, 2024 4:48:33 PM (7 months ago)
- svn:sync-xref-src-repo-rev:
- 164315
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedClipboard/VBoxSharedClipboardSvc.cpp
r104236 r105630 1532 1532 #ifdef VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS 1533 1533 bool fSkipTransfers = false; 1534 if (!(g_fTransferMode & VBOX_SHCL_TRANSFER_MODE_F_ENABLED)) 1535 { 1536 LogRel2(("Shared Clipboard: File transfers are disabled, skipping reporting those to the guest\n")); 1537 fSkipTransfers = true; 1538 } 1539 else if (!(pClient->State.fGuestFeatures0 & VBOX_SHCL_GF_0_TRANSFERS)) 1540 { 1541 LogRel2(("Shared Clipboard: File transfers not supported by installed Guest Addtions, skipping reporting those to the guest\n")); 1542 fSkipTransfers = true; 1543 } 1544 1545 if (fSkipTransfers) 1546 fFormats &= ~VBOX_SHCL_FMT_URI_LIST; 1534 if (fFormats & VBOX_SHCL_FMT_URI_LIST) 1535 { 1536 if (!(g_fTransferMode & VBOX_SHCL_TRANSFER_MODE_F_ENABLED)) 1537 { 1538 static uint8_t s_uTransfersBitchedNotEnabled = 0; 1539 if (s_uTransfersBitchedNotEnabled++ < 32) 1540 { 1541 LogRel(("Shared Clipboard: File transfers are disabled, skipping reporting those to the guest\n")); 1542 fSkipTransfers = true; 1543 } 1544 } 1545 1546 if (!(pClient->State.fGuestFeatures0 & VBOX_SHCL_GF_0_TRANSFERS)) 1547 { 1548 static bool s_fTransfersBitchedNotSupported = false; 1549 if (!s_fTransfersBitchedNotSupported) 1550 { 1551 LogRel(("Shared Clipboard: File transfers not supported by installed Guest Addtions, skipping reporting those to the guest\n")); 1552 s_fTransfersBitchedNotSupported = true; 1553 } 1554 fSkipTransfers = true; 1555 } 1556 1557 if (fSkipTransfers) 1558 fFormats &= ~VBOX_SHCL_FMT_URI_LIST; 1559 } 1547 1560 #endif 1548 1561
Note:
See TracChangeset
for help on using the changeset viewer.