The libdecor package provides a library that helps Wayland clients draw client-side window decorations.
Pango (with Cairo), Wayland, and Wayland-Protocols
GTK-3, libxkbcommon, and OpenGL (libglvnd or Mesa; Mesa's GL is not supported) (with EGL)
Install libdecor by running the following commands:
mkdir build &&
cd build &&
meson setup --prefix=/usr \
--buildtype=release \
-D demo=false \
-D gtk=disabled \
.. &&
ninja
Now, as the root user:
ninja install
-D demo=false: This
parameter disables building the demos. Remove it if you installed
the optional dependencies.
-D gtk=disabled: This
parameter disables building the GTK-3 plugin. Remove it if you
installed GTK-3.