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

Helper class for wl_subsurface #440

Open
jgcodes2020 opened this issue Feb 11, 2024 · 1 comment
Open

Helper class for wl_subsurface #440

jgcodes2020 opened this issue Feb 11, 2024 · 1 comment

Comments

@jgcodes2020
Copy link

jgcodes2020 commented Feb 11, 2024

Does SCTK have a class wrapping a window with wl_subsurface? This would be helpful for writing things like video players.

@i509VCB
Copy link
Member

i509VCB commented Feb 11, 2024

There isn't any big helper to wrap subsurfaces, but sctk does provide a helper to initialize a subsurface for you: https://github.com/Smithay/client-toolkit/blob/master/src/subcompositor.rs#L30-L44

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

No branches or pull requests

2 participants