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

WLR Layer Shell Support #354

Merged
merged 4 commits into from
Jul 31, 2021
Merged

WLR Layer Shell Support #354

merged 4 commits into from
Jul 31, 2021

Conversation

PolyMeilex
Copy link
Member

Design goal of this implementation was to make its API as similar to xdg-shell as possible, the idea is that if someone already knows how to use xdg-shell they should be able to start using layer-shell by using nearly the same API. So CachedState, with_pending_state, current_state, etc. are all there, and should act just like xdg equivalents.

Anvil implementation of layer shell is lacking at the moment, I wanted to implement everything but the more I added, the hackier the code felt, so I decided to stop. The main missing piece for anvil is exclusive_zone support, but I think that I implemented enough to make it a useful test ground for future changes.

anodium-7.mp4

@PolyMeilex PolyMeilex force-pushed the layer-v3 branch 2 times, most recently from 0f59837 to 041ac1e Compare July 30, 2021 16:18
@elinorbgr
Copy link
Member

elinorbgr commented Jul 30, 2021

So, a few minor points, mostly regarding documentation. Other than that this looks pretty solid, thank! 👍

Also, could you rebase on master, to run the new CI?

@PolyMeilex
Copy link
Member Author

PolyMeilex commented Jul 31, 2021

All long lines got eradicated.
Changelog is now fixed and follows the convention.
I rebased on top of master.

While at it, I also exposed the surface role &str just like #342 does for other shells

@elinorbgr elinorbgr merged commit 01ac0f1 into Smithay:master Jul 31, 2021
@PolyMeilex PolyMeilex deleted the layer-v3 branch July 31, 2021 12:40
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