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

Update background view to use the new view system #192

Merged
merged 4 commits into from
Oct 6, 2023

Conversation

ammen99
Copy link
Member

@ammen99 ammen99 commented Oct 5, 2023

This PR basically rewrites background-view to properly use the view interfaces provided by Wayfire.

It works by listening to the new pre-map signal. With it, background-view tells core that it will take over the view, so that core destroys its own view associated with the wlroots object (wlr_xdg_toplevel or wlr_xwayland_surface). Then, background-view creates a new view which is crafted to fit into the requirements of the plugin and appears almost as a layer-shell view to the rest of Wayfire, resulting in its proper treatment by various plugins.

Does anyone care about it at all?
@ammen99
Copy link
Member Author

ammen99 commented Oct 6, 2023

The necessary Wayfire changes have been merged now.

@soreau
Copy link
Member

soreau commented Oct 6, 2023

Thanks!

@soreau soreau merged commit c235eed into master Oct 6, 2023
6 checks passed
@ammen99 ammen99 deleted the fix-background-view branch October 6, 2023 19:44
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.

2 participants