Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support RemoteDesktop.ConnectToEIS #114

Merged
merged 5 commits into from
Jul 20, 2023

Conversation

whot
Copy link
Contributor

@whot whot commented Sep 7, 2022

See flatpak/xdg-desktop-portal#762

This adds support for connecting a remote desktop/screen cast session to an EIS implementation so the application and the EIS implementation (i.e. the compositor) can talk directly without having to bounce DBus messages through the portal.

cc @jadah, @ofourdah

@whot whot mentioned this pull request Sep 7, 2022
6 tasks
@whot whot force-pushed the wip/remote-desktop-eis branch 2 times, most recently from 72ea745 to 0192ac1 Compare November 28, 2022 06:43
@ofourdan
Copy link

You may want to cherry-pick ofourdan@9689ea23 as well

@whot
Copy link
Contributor Author

whot commented Nov 28, 2022

done, thanks!

@whot whot force-pushed the wip/remote-desktop-eis branch from 81d4aca to 3a02061 Compare January 5, 2023 04:10
@whot whot force-pushed the wip/remote-desktop-eis branch from 3a02061 to 35fd732 Compare January 20, 2023 04:43
whot added 2 commits April 20, 2023 14:07
These two portals are quite intertwined and the only reason the tests
here passed was because the SC portal was missing and hence libportal
never called select_sources, despite us selecting an XdpOutputType.

Fix this by initializing both and adjusting the test accordingly.
@whot whot force-pushed the wip/remote-desktop-eis branch from 35fd732 to 883f389 Compare April 20, 2023 04:14
@whot whot marked this pull request as ready for review July 18, 2023 04:28
@whot
Copy link
Contributor Author

whot commented Jul 18, 2023

This is now merged into xdg-desktop-portal (flatpak/xdg-desktop-portal#762) so let's mark this PR as ready.

whot added 2 commits July 19, 2023 10:08
This does not handle the niche case of an XDG portal providing either of
ScreenCast or RemoteDesktop but not both.
Near identical checks, let's handle those through a helper function.
@whot whot force-pushed the wip/remote-desktop-eis branch from 883f389 to ffbee46 Compare July 19, 2023 00:51
This is intended to replace the various NotifyFoo dbus methods and
instead connect the application with the implementation of the portal
directly via a shared socket.
@whot whot force-pushed the wip/remote-desktop-eis branch from ffbee46 to 422cb03 Compare July 20, 2023 05:25
@GeorgesStavracas GeorgesStavracas merged commit 867aec3 into flatpak:main Jul 20, 2023
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.

3 participants