Find a file
2018-03-29 01:02:40 -04:00
backend Merge pull request #765 from swaywm/transformed-events 2018-03-28 14:11:39 -04:00
examples Remove width_mm from tablet events 2018-03-28 12:05:37 -04:00
include Merge pull request #720 from acrisci/xdg-positioner 2018-03-29 01:02:40 -04:00
protocol
render
rootston Merge pull request #720 from acrisci/xdg-positioner 2018-03-29 01:02:40 -04:00
types Merge pull request #720 from acrisci/xdg-positioner 2018-03-29 01:02:40 -04:00
util
xcursor
xwayland
.build.yml
.editorconfig
.gitignore
CONTRIBUTING.md
glgen.sh
LICENSE
meson.build
meson_options.txt
README.md
wlroots.syms

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.