f8428d1063
Now message can look like: [xwayland/xwm.c:991] xcb error: op ChangeProperty (no minor), code Window (no extension), value 6291465 instead of this one when the lib is not available: [xwayland/xwm.c:999] xcb error: op 18:0, code 3, sequence 103, value 6291465 The value in case of Window is the window id, so we can tell what function applied on which window which is a good start. The sequence ought to be able to tell us more precisely which invocation it was, but we never log it when calling functions so is useless in practice and no longer logged. |
||
---|---|---|
backend | ||
examples | ||
include | ||
protocol | ||
render | ||
rootston | ||
types | ||
util | ||
xcursor | ||
xwayland | ||
.build.yml | ||
.editorconfig | ||
.gitignore | ||
.travis.yml | ||
CONTRIBUTING.md | ||
LICENSE | ||
README.md | ||
glgen.sh | ||
meson.build | ||
meson_options.txt | ||
wlroots.syms |
README.md
wlroots
Pluggable, composable modules for building a Wayland compositor.
This is a WIP: status
Contributing
See CONTRIBUTING.md
Building
Install dependencies:
- wayland
- wayland-protocols
- EGL
- GLESv2
- DRM
- GBM
- libinput
- udev
- pixman
- systemd (optional, for logind support)
- elogind (optional, for logind support on systems without systemd)
- libcap (optional, for capability support)
- asciidoc (optional, for man pages)
Run these commands:
meson build
ninja -C build
(On FreeBSD, you need to pass an extra flag to prevent a linking error: meson build -D b_lundef=false
)
Running the Reference Compositor
wlroots comes with a reference compositor called rootston that demonstrates the features of the library.
After building, run rootston from a terminal or VT with:
./build/rootston/rootston
Now you can run windows in the compositor from the command line or by
configuring bindings in your
rootston.ini
file.