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 for libdecor #196

Open
elinorbgr opened this issue Jul 24, 2021 · 5 comments
Open

Support for libdecor #196

elinorbgr opened this issue Jul 24, 2021 · 5 comments

Comments

@elinorbgr
Copy link
Member

elinorbgr commented Jul 24, 2021

We should provide a Frame implementation that tries to use the system's libdecor if available, and fallbacks to an user-provided Frame implementation if missing, as defined by a type parameter.

Actually, looking at libdecor's API, that's probably not going to be possible to integrate it like that, its behavior is more comparable to our Window type.

@DiegoMagdaleno
Copy link

Hi, I was looking into this and libdecor today, did you do any particular progress on this?.

Would be nice if you could give some insight on how do you think libdecor should be implemented.

Should a separate crate be crated for bindings?, or are there some bindings for libdecor already?, thank you :).

Hope you can point me in the right direction to mess around with wayland, is not my area of expertize, but I see what I can do.

@cmeissl
Copy link
Contributor

cmeissl commented Nov 28, 2021

Hi, I was looking into this and libdecor today, did you do any particular progress on this?.

Would be nice if you could give some insight on how do you think libdecor should be implemented.

Should a separate crate be crated for bindings?, or are there some bindings for libdecor already?, thank you :).

Hope you can point me in the right direction to mess around with wayland, is not my area of expertize, but I see what I can do.

I am currently working on bindings to libdecor and integrating them in sctk.
The bindings are already working with a simple demo application and i plan to release them soon.

@DiegoMagdaleno
Copy link

Great :), thank you for your work!

@satmandu
Copy link

satmandu commented Mar 3, 2022

@cmeissl Is this what you're talking about? It looks great!

screenshot-libdecor-rs-crop

@i509VCB
Copy link
Member

i509VCB commented Mar 29, 2023

Mentioning this for future contributors.

libdecor at the moment acts more like a shell than a way to attach decorations. There is a proposed unmanaged frame API that would make it far easier to use in sctk (implementing DecorationsFrame)

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

5 participants