A private fork of wlroots
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Patrick Steinhardt 91c034d164
travis: add job building wlroots without various options
7 years ago
backend drm: Use ptrdiff_t instead of intmax_t in format string 7 years ago
examples style: include brackets for if/while/for, even if it's a single statement 7 years ago
include rootston: fix compilation without XWayland support 7 years ago
protocol Add idle protocol 7 years ago
render rename matrix model box to project box 7 years ago
rootston rootston: move together XWayland setup code 7 years ago
types wlr_keyboard: use correct printf format string for keymap_size 7 years ago
util Allow configurable verbosity 7 years ago
xcursor move get_resize_name to xcursor 7 years ago
xwayland style: add else keywords in xwm.c 7 years ago
.build.yml Fix CI build 7 years ago
.editorconfig Add wlr_primary_selection_device_manager and wlr_primary_selection_source 7 years ago
.gitignore Remove vim stuff from .gitignore 7 years ago
.travis.yml travis: add job building wlroots without various options 7 years ago
CONTRIBUTING.md Update CONTRIBUTING.md 7 years ago
LICENSE Initial commit 8 years ago
README.md readme: change running instructions 7 years ago
glgen.sh Change glapi.sh to generate both files 7 years ago
meson.build meson: add ctags and etags targets 7 years ago
meson_options.txt Make xwayland compile-time optional 7 years ago

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.