-
Notifications
You must be signed in to change notification settings - Fork 180
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
layer-shell: adjust keyboard-interactivity #962
Conversation
3063073
to
8c1515d
Compare
Marking as draft simply because the wlroots PR is not merged yet. Otherwise, LGTM. |
Shouldn't values > 2 result in an error? Or is that already handled by wlroots then? |
Yes, I think it is better to handle this in wlroots (unless other compositor implementations will want to be able to add their custom values): |
8c1515d
to
37e3e09
Compare
Only a value of 1 is interpreted as a request for exclusive focus. Other > 0 values result in normal focus semantics.
37e3e09
to
5c15711
Compare
Hmm, actually, this would work on the current wlroots master too, right (we could merge this without breaking anything)? |
Yes, I agree, it should not break anything, since wlroots always sets it to 0/1 currently. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alright, let's merge it then. Thanks!
Is the |
Not explicitly, but it will "just work" without any special casing. |
Implementation for swaywm/wlr-protocols#100 -- requires swaywm/wlroots#2555 to actually work.
Only a value of 1 is interpreted as a request for exclusive focus. Other > 0 values result in normal focus semantics.