b63e3e0201
The condition to return from surface_attach with a null buffer involves es->output being non-null. However if a surface was just created this field would be null and an attach of a null buffer would cause the compositor to crash. The other crash happened if surface_attach was called twice with a null buffer after a valid buffer was attached to the surface. Since es->buffer was not being set to NULL, surface_attach() would call wl_list_remove(&es->buffer_destroy_listener.link) twice for the same surface. Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com> |
||
---|---|---|
clients | ||
data | ||
protocol | ||
shared | ||
src | ||
tests | ||
.gitignore | ||
autogen.sh | ||
configure.ac | ||
Makefile.am | ||
README | ||
weston-desktop-shell.ini | ||
weston-tablet-shell.ini |
Wayland Demos This repository contains a few demos application for the Wayland project. There's a sample compositor that can run on KMS, under X11 or under another Wayland compositor and there's a handful of simple clients that demonstrate various aspects of Wayland: