Skip to content

Conversation

@jadahl
Copy link

@jadahl jadahl commented Nov 20, 2025

This adds clipboard API usable with the existing remote desktop portal, and implements the new split session construction input capture API, as well as input capture clipboard support. See flatpak/xdg-desktop-portal#1803.

This makes the label not "fly away" when some other widget makes its
column wider.
Only starts the session and reports the shared devices and streams.
This will be necessary when handling signals, which needs to fetch the
session from a handle.
This adds API to interact with the clipboard portal associated with a
remote desktop session.
This allows copying to, and pasting from, the clipboard portal.
This makes it easier to construct a session from somewhere else, which
will be needed with CreateSession2().
It's its own thing, that also controls the lifetime of the actual
session, so need some special casing.
Rather useless, since we're not adding any barriers, but more complete
none the less.
In API version 2, the CreateSession() was replaced by
CreateSession2()/Start(); add API that corresponds to this.

Unfortunately applications will need to check whether this is supported
by manually checking the exposed API version, to use the new
construction method.
This will allow enabling clipboard integration later.
@jadahl jadahl force-pushed the wip/input-capture-clipboard branch from bfc4532 to efa8c1a Compare November 21, 2025 08:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant