Skip to content
This repository has been archived by the owner on Nov 1, 2021. It is now read-only.

[layer-shell] Guideline as to which layer to use for specific uses #60

Open
David96 opened this issue Oct 16, 2019 · 5 comments
Open

[layer-shell] Guideline as to which layer to use for specific uses #60

David96 opened this issue Oct 16, 2019 · 5 comments

Comments

@David96
Copy link

David96 commented Oct 16, 2019

Hey,

I'm currently a bit unsure about which layer should be used for the different programs I'm using.
I'm using sway with waybar and bemenu. For waybar, there is a pull request to use the layer shell protocol for proper popup placing. Now I'm in the following situation: bemenu uses top as a layer (hardcoded). To make sure bemenu displays over waybar, I have to set the waybar layer to bottom. But the popups opened by waybar (for example when hovering over an item such as CPU) also open at that layer therefore showing beneath the windows.
I could now go ahead and just change the code of bemenu to use overlay as a layer and then set waybars layer to top but first, I wanted to hear whether there's some recommended way of handling this situation.

Thanks in advance and have a nice day :)

@emersion
Copy link
Member

I'm kind of tempted to say Sway should display popups over everything else. I thought this was what was done for xdg-toplevel popups…

@David96
Copy link
Author

David96 commented Oct 16, 2019

So should I open a sway issue for that? Sounds like it would definitely solve my problem.

@emersion
Copy link
Member

@ddevault, thoughts?

@emersion
Copy link
Member

swaywm/sway#4684

@emersion
Copy link
Member

emersion commented Nov 1, 2021

wlr-protocols has migrated to gitlab.freedesktop.org. This issue has been moved to:

https://gitlab.freedesktop.org/wlroots/wlr-protocols/-/issues/60

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants