LavaUI docs

enum DropBridge

Swift

enum DropBridge

Where the paths for a .fileDrop come from.

The same shape as ClipboardBridge and for the same reason: a windowed app asks its own engine, and a client has no window to ask. The event itself crosses the wire unchanged — it is the variable-length payload that needs a call of its own, which LavaClient installs here.

Unset means windowed, which is why the fallback is the engine rather than an empty list: an app that never heard of a compositor should not have to install anything.

Sources/LavaUI/DropTarget.swift:23

Properties

nonisolated(unsafe) static var provider: (@Sendable (UInt32) -> [String])?

Not documented.

Sources/LavaUI/DropTarget.swift:24