Skip to content
Commit 76d1ae8c authored by Simon Ser's avatar Simon Ser Committed by Jonas Ådahl
Browse files

unstable: add xdg-decoration protocol



This adds a new protocol to negotiate server-side rendering of window
decorations for xdg-toplevels. This allows compositors that want to draw
decorations themselves to send their preference to clients, and clients that
prefer server-side decorations to request them.

This is inspired by a protocol from KDE [1] which has been implemented in
KDE and Sway and was submitted for consideration in 2017 [2]. This patch
provides an updated protocol with those concerns taken into account.

Signed-off-by: default avatarSimon Ser <contact@emersion.fr>
Reviewed-by: default avatarDrew DeVault <sir@cmpwn.com>
Reviewed-by: default avatarDavid Edmundson <davidedmundson@kde.org>
Reviewed-by: default avatarEike Hein <hein@kde.org>
Reviewed-by: default avatarAlan Griffiths <alan.griffiths@canonical.com>
Reviewed-by: default avatarJonas Ådahl <jadahl@gmail.com>

[1] https://github.com/KDE/kwayland/blob/master/src/client/protocols/server-decoration.xml
[2] https://lists.freedesktop.org/archives/wayland-devel/2017-October/035564.html
parent 7287469e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment