Commit bbc206e9 authored by Derek Foreman's avatar Derek Foreman Committed by Daniel Stone

dmabuf: Don't crash clients by sending version inappropriate events

We need to make sure the client bound dmabuf with a high enough
version to receive modifier events before sending them or the
client will crash.
Signed-off-by: default avatarDerek Foreman <>
Reviewed-by: Daniel Stone's avatarDaniel Stone <>
parent cd052a62
......@@ -483,6 +483,8 @@ bind_linux_dmabuf(struct wl_client *client,
wl_resource_set_implementation(resource, &linux_dmabuf_implementation,
compositor, NULL);
* Use EGL_EXT_image_dma_buf_import_modifiers to query and advertise
* format/modifier codes.
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment