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

Integrate KDE's decoration protocol #1

Closed
elinorbgr opened this issue Apr 26, 2018 · 4 comments · Fixed by #20
Closed

Integrate KDE's decoration protocol #1

elinorbgr opened this issue Apr 26, 2018 · 4 comments · Fixed by #20

Comments

@elinorbgr
Copy link
Member

An early version is available in wayland-protocols : https://docs.rs/wayland-protocols/0.20.1/wayland_protocols/misc/server_decoration/client/index.html

There is also ongoing discussion on the wayland mailling lists and some variant of the protocol is likely to be soon standardized : https://lists.freedesktop.org/archives/wayland-devel/2018-April/037933.html

The idea would be to make a ServerFrame<F: Frame> implementing window::Frame that would use the server decoration protocol if available and if not fallback to the F frame.

@elinorbgr
Copy link
Member Author

Actually, it should probably not be a Frame instance, but rather an other method on Window to create it with the server decoration protocol support, as it requires access to a new global.

@emersion
Copy link

emersion commented Jul 5, 2018

The xdg-decoration protocol has been merged in wayland-protocols 1.15.

@elinorbgr
Copy link
Member Author

tentative implementation is up in #20, @emersion do you know of any compositor implementing xdg-toplevel-v1 for testing this? Does rootson already support it by chance?

@emersion
Copy link

We have a working implementation in this PR: swaywm/wlroots#1053

It's not yet merged because it requires a wayland-protocols update in the Arch repos (just bumped the maintainers though - hopefully we'll be able to merge soon).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants