swaywm/wlroots
A modular Wayland compositor library observed · 2026-08-28
Health v2 · maintenance only
10/100
- Activity 0
- Release rhythm 8
- Longevity 100
Flags: archived
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3417
- days_rel: n/a
- days_push: 1659
- n_releases_24m: 0
Adoption not part of the score
2274 stars · 350 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
wlroots is a modular C library providing pluggable, composable modules for building Wayland compositors, including hardware backends, protocol implementations, rendering abstractions, and Xwayland support. It is developed under the direction of the Sway project and has migrated to gitlab.freedesktop.org.
Use cases
- build a custom Wayland compositor
- abstract KMS/DRM and input hardware for a display server
- add Xwayland support to a compositor without writing an X11 window manager
- implement Wayland protocol extensions portably
- write a headless or nested Wayland compositor for testing
When to choose
- you are writing a Wayland compositor in C and want reusable, unopinionated building blocks
- you need broad hardware compatibility and multiple backends (DRM, X11, Wayland, headless)
- you want to avoid reimplementing common Wayland interfaces and rendering code
When to avoid
- you need a ready-to-use desktop environment rather than a library
- you are targeting X11 only or non-Linux platforms
- you prefer a higher-level toolkit or a language other than C (though wrapper libraries exist)
Facets
library · maturity active
graphics gui middleware operating-systems graphics developer-tools desktop-applications cpp c wayland compositor display-server kms-drm libinput xwayland meson linux
1 source
- readme: https://github.com/swaywm/wlroots · fetched 2026-08-28 · dbce09887b12
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| swaywm/wlroots | main | 10 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem