8b6dc48355
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. |
||
---|---|---|
CMake | ||
backend | ||
examples | ||
include | ||
render | ||
session | ||
types | ||
util | ||
.gitignore | ||
.travis.yml | ||
CMakeLists.txt | ||
CONTRIBUTING.md | ||
LICENSE | ||
README.md |
README.md
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