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 wlr-layer-shell as a Backend #327

Open
bbb651 opened this issue Apr 4, 2024 · 1 comment
Open

Support wlr-layer-shell as a Backend #327

bbb651 opened this issue Apr 4, 2024 · 1 comment

Comments

@bbb651
Copy link

bbb651 commented Apr 4, 2024

I would like cage to have the ability to run as a wlr-layer-shell client (with configuration given through command line arguments) when running it nested inside other compositors. This is different from #95 that is about supporting the wlr-layer-shell protocol as a server.

My use case is running a SDL2 application as a wallpaper. SDL2 doesn't plan on supporting the protocol, there is a old pr that adds support but I don't have the source for my binary and SDL2 is statically linked.

I think this will require upstream support in wlroots as it doesn't like this exists in the backends.

@emersion
Copy link
Contributor

emersion commented Apr 4, 2024

It's possible to implement this without wlroots changes, see e.g. https://gitlab.freedesktop.org/wlroots/wlroots/-/blob/master/examples/embedded.c?ref_type=heads

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