A modular Wayland compositor library
Go to file
Tony Crisci 8b6dc48355 bugfix: add null check on output gbm on pageflip
The gbm for the output might be null for the pageflip in the case that
the output has been disconnected. The gbm might be set to null by
wlr_drm_output_cleanup() in this case.

If the output is cleaned up before the pageflip, then a double free
will crash the compositor on the call to gbm_surface_release_buffer()
in the pageflip handler. The outputs buffer object bo[1] will point to
invalid memory.
2017-07-24 19:50:13 -04:00
backend bugfix: add null check on output gbm on pageflip 2017-07-24 19:50:13 -04:00
CMake Revert "Merge pull request #27 from ascent12/meson" 2017-07-11 22:16:56 -04:00
examples Revert "Merge pull request #27 from ascent12/meson" 2017-07-11 22:16:56 -04:00
include Remove use of missing header 2017-07-12 09:49:26 -04:00
render Revert "Merge pull request #27 from ascent12/meson" 2017-07-11 22:16:56 -04:00
session Revert "Merge pull request #27 from ascent12/meson" 2017-07-11 22:16:56 -04:00
types Revert "Merge pull request #27 from ascent12/meson" 2017-07-11 22:16:56 -04:00
util Revert "Merge pull request #27 from ascent12/meson" 2017-07-11 22:16:56 -04:00
.gitignore Revert "Merge pull request #27 from ascent12/meson" 2017-07-11 22:16:56 -04:00
.travis.yml Build on travis-ci. 2017-07-12 14:31:43 +02:00
CMakeLists.txt Fix LTO (fixes #26) 2017-07-18 09:48:18 -04:00
CONTRIBUTING.md Update README.md, add CONTRIBUTING.md 2017-06-06 10:54:53 -04:00
LICENSE Initial commit 2017-04-25 11:32:52 -04:00
README.md Build on travis-ci. 2017-07-12 14:31:43 +02:00

wlroots

Pluggable, composable modules for building a Wayland compositor.

WIP - Status

Building

Install dependencies:

  • cmake
  • wayland
  • wayland-protocols
  • EGL
  • GLESv2
  • DRM
  • GBM
  • libinput
  • udev
  • systemd (optional, for logind support)
  • libcap (optional, for capability support)
  • asciidoc (optional, for man pages)

Run these commands:

mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
make
sudo make install