• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

.builds/H08-Nov-2020-8582

backend/H08-Nov-2020-12,61210,267

contrib/H08-Nov-2020-2922

docs/H08-Nov-2020-4934

examples/H08-Nov-2020-11,2529,673

include/H08-Nov-2020-10,4846,075

protocol/H08-Nov-2020-3,3882,848

render/H08-Nov-2020-2,6242,136

tinywl/H08-Nov-2020-1,188776

types/H08-Nov-2020-24,12519,867

util/H08-Nov-2020-586469

xcursor/H03-May-2022-1,350980

xwayland/H03-May-2022-4,5503,776

.editorconfigH A D08-Nov-2020191 1411

.gitignoreH A D08-Nov-202088 109

CONTRIBUTING.mdH A D08-Nov-202012.1 KiB365283

LICENSEH A D08-Nov-20201.1 KiB2117

README.mdH A D08-Nov-20202.7 KiB8366

meson.buildH A D08-Nov-20204.9 KiB198174

wlroots.symsH A D08-Nov-2020131 1211

README.md

1# wlroots
2
3Pluggable, composable, unopinionated modules for building a
4[Wayland](http://wayland.freedesktop.org/) compositor; or about 50,000 lines of
5code you were going to write anyway.
6
7- wlroots provides backends that abstract the underlying display and input
8	hardware, including KMS/DRM, libinput, Wayland, X11, and headless backends,
9	plus any custom backends you choose to write, which can all be created or
10	destroyed at runtime and used in concert with each other.
11- wlroots provides unopinionated, mostly standalone implementations of many
12	Wayland interfaces, both from wayland.xml and various protocol extensions.
13	We also promote the standardization of portable extensions across
14	many compositors.
15- wlroots provides several powerful, standalone, and optional tools that
16	implement components common to many compositors, such as the arrangement of
17	outputs in physical space.
18- wlroots provides an Xwayland abstraction that allows you to have excellent
19	Xwayland support without worrying about writing your own X11 window manager
20	on top of writing your compositor.
21- wlroots provides a renderer abstraction that simple compositors can use to
22	avoid writing GL code directly, but which steps out of the way when your
23	needs demand custom rendering code.
24
25wlroots implements a huge variety of Wayland compositor features and implements
26them *right*, so you can focus on the features that make your compositor
27unique. By using wlroots, you get high performance, excellent hardware
28compatibility, broad support for many wayland interfaces, and comfortable
29development tools - or any subset of these features you like, because all of
30them work independently of one another and freely compose with anything you want
31to implement yourself.
32
33Check out our [wiki](https://github.com/swaywm/wlroots/wiki/Getting-started) to
34get started with wlroots.
35
36wlroots is developed under the direction of the
37[sway](https://github.com/swaywm/sway) project. A variety of wrapper libraries
38[are available](https://github.com/swaywm) for using it with your favorite
39programming language.
40
41## Building
42
43Install dependencies:
44
45* meson
46* wayland
47* wayland-protocols
48* EGL
49* GLESv2
50* libdrm
51* GBM
52* libinput
53* xkbcommon
54* udev
55* pixman
56* systemd (optional, for logind support)
57* elogind (optional, for logind support on systems without systemd)
58
59If you choose to enable X11 support:
60
61* xcb
62* xcb-composite
63* xcb-xfixes
64* xcb-xinput
65* xcb-image
66* xcb-render
67* x11-xcb
68* xcb-errors (optional, for improved error reporting)
69* x11-icccm (optional, for improved Xwayland introspection)
70
71Run these commands:
72
73    meson build
74    ninja -C build
75
76Install like so:
77
78	sudo ninja -C build install
79
80## Contributing
81
82See [CONTRIBUTING.md](https://github.com/swaywm/wlroots/blob/master/CONTRIBUTING.md).
83