Smithay / wayland-window

A simple window-decorations library built on top of wayland-client.
MIT License
18 stars 11 forks source link

Add support for KDE's server-decoration protocol #25

Closed emersion closed 6 years ago

emersion commented 6 years ago

This protocol is supported by KDE, wlroots and GTK.

Source: https://github.com/KDE/kwayland/blob/master/src/client/protocols/server-decoration.xml

elinorbgr commented 6 years ago

Is the protocol in this location considered stable & public by KDE?

emersion commented 6 years ago

Aye.

elinorbgr commented 6 years ago

Good, then I'll integrate it to wayland-protocols and we'll be able to use it here.

elinorbgr commented 6 years ago

This may need some thinking to be implemented though, the whole structure of the crate is very centered on the notion that it'll be drawing the decorations itself.

Maybe the solution would be to keep Frame as it is, and add a new layer of abstraction on top of it.

elinorbgr commented 6 years ago

Closing in favor of https://github.com/Smithay/client-toolkit/issues/1, as this library is to be replaced by Smithay's Client Toolkit.