This example compositor doesn't work with the latest wlroots API and won't be updated. Please don't use it. Instead, please use tinywl as a reference.
This is a demonstration Wayland compositor that accompanies a series of blog posts written for drewdevault.com.
mkdir build
cd build
meson ..
ninjaThis will produce a binary named mcwayface, this is your compositor. Run it
without any arguments.