Find a file
Dominique Martinet 880c239657 libinput: fail if no input found on init
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.
2017-08-16 09:18:12 +02:00
backend libinput: fail if no input found on init 2017-08-16 09:18:12 +02:00
examples Merge pull request #91 from martinetd/move_wl_shell 2017-08-15 17:39:18 -04:00
include Make wlr_wl_shell_create work like xdg 2017-08-15 15:36:02 +02:00
protocol Fix #64 2017-08-13 08:26:32 -04:00
render Merge pull request #88 from 4e554c4c/alloc_crashing 2017-08-15 12:21:58 -04:00
types Merge pull request #91 from martinetd/move_wl_shell 2017-08-15 17:39:18 -04:00
util Merge pull request #88 from 4e554c4c/alloc_crashing 2017-08-15 12:21:58 -04:00
xcursor Fix style issues 2017-08-14 17:09:56 +02:00
.build.yml Specify gcc explicitly in .build.yml 2017-08-09 22:59:02 -04:00
.gitignore Revert "Merge pull request #27 from ascent12/meson" 2017-07-11 22:16:56 -04:00
.travis.yml Update ci for pixman 2017-08-09 17:06:19 +02:00
CONTRIBUTING.md Update README.md, add CONTRIBUTING.md 2017-06-06 10:54:53 -04:00
dummy.c Fix build on systems without systemd 2017-08-13 08:21:57 -04:00
LICENSE Initial commit 2017-04-25 11:32:52 -04:00
meson.build Fix #64 2017-08-13 08:26:32 -04:00
README.md Update README.md 2017-08-13 08:29:04 -04:00

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