Server Side Decoration Compositor is a simple example that demonstrates server side window decorations on xdg-shell.
Server Side Decoration Compositor is a desktop-style Wayland compositor example implementing server-side window decorations.
范例工程 @ code.qt.io