Wayland

A Wayland top-level surface that can export an xdg-foreign handle.

The host owns the Wayland connection and event loop. It must keep the export alive while action runs and release it afterward. Pass null to action when the compositor does not support xdg-foreign.

Functions

Link copied to clipboard
abstract suspend fun <T> withXdgForeignHandle(action: suspend (String?) -> T): T