880c239657
This runs through events pending at init on initialization so we can tell if some devices are available. Note that with the way wlr_device_lists is managed, this checks that there is at least one device we handle - it doesn't have to be a keyboard, but there is at least a mouse or tablet_pad or something that we care about. Instead of failing inconditionally it might be better to leave the decision to the user, e.g. add a "backend_has_devices" function to call later. (Tested by moving /dev/input off) Fixes #24. |
||
---|---|---|
backend | ||
examples | ||
include | ||
protocol | ||
render | ||
types | ||
util | ||
xcursor | ||
.build.yml | ||
.gitignore | ||
.travis.yml | ||
CONTRIBUTING.md | ||
LICENSE | ||
README.md | ||
dummy.c | ||
meson.build |
README.md
wlroots
Pluggable, composable modules for building a Wayland compositor.
This is a WIP: status
Contributing
Development is organized in our IRC channel, #sway on irc.freenode.net. Join us and ask how you can help!
Building
Install dependencies:
- wayland
- wayland-protocols
- EGL
- GLESv2
- DRM
- GBM
- libinput
- udev
- pixman
- systemd (optional, for logind support)
- libcap (optional, for capability support)
- asciidoc (optional, for man pages)
Run these commands:
meson build
ninja -C build