From d1766547bd3d7f150b5ddca405b9b6259e546f52 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Sat, 4 May 2019 12:10:29 +0300 Subject: backend/drm: reject DMA-BUFs with flags --- backend/drm/drm.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'backend/drm') diff --git a/backend/drm/drm.c b/backend/drm/drm.c index 70a1edde..9d177810 100644 --- a/backend/drm/drm.c +++ b/backend/drm/drm.c @@ -924,6 +924,9 @@ static bool drm_connector_attach_buffer(struct wlr_output *output, return false; } + if (attribs.flags != 0) { + return false; + } if (attribs.width != output->width || attribs.height != output->height) { return false; } -- cgit v1.2.3