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

Add support for set_parent in XDG portals #209

Merged
merged 3 commits into from
Aug 12, 2024

Conversation

kjarosh
Copy link
Contributor

@kjarosh kjarosh commented Aug 7, 2024

Related to #46.

This PR ads support for set_parent for XDG Portals. As mentioned in #46, that requires making the parent to be HasWindowHandle + HasDisplayHandle due to WindowIdentifier on Wayland requiring a RawDisplayHandle.

Currently the code calls block_on when constructing a WindowIdentifier due to the fact that the handles are not Send, but it's much better compared to not having the feature at all :)

Tested on X11.

@kjarosh
Copy link
Contributor Author

kjarosh commented Aug 10, 2024

Thank you for your review! I've added installing libwayland-dev as a dependency for Ubuntu XDG in CI hoping it will fix the failure due to missing wayland-client system library

@PolyMeilex PolyMeilex merged commit 42dcc7d into PolyMeilex:master Aug 12, 2024
13 checks passed
@PolyMeilex
Copy link
Owner

Thanks!

@kjarosh kjarosh deleted the xdg-parent branch August 13, 2024 06:56
@torokati44
Copy link
Contributor

Is there maybe a timeline for when a release with this feature included in it is planned to be released? 👀😊

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