Add Clipboard Listener

This commit is contained in:
Leon Böttger committed 2026-05-14 14:44:17 +02:00
1 parent ee091f60cd
commit 5fdc5f8a1b
11 files changed
+879 -23

No files matched your search

@@ -279,6 +279,9 @@ class InboundNearbyConnection: NearbyConnection {
if let urlStr = String(data: payload, encoding: .utf8) {
if isPlainTextTransfer {
#if os(macOS) && !EXTENSION
ClipboardSyncCoordinator.shared.suppressNextClipboardSync(for: urlStr)
#endif
#if os(macOS)
// macOS clipboard
let pasteboard = NSPasteboard.general