diff options
author | Simon Ser <contact@emersion.fr> | 2019-05-04 12:10:29 +0300 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-06-07 09:06:11 -0400 |
commit | d1766547bd3d7f150b5ddca405b9b6259e546f52 (patch) | |
tree | 6383f7d6d84f3f62c7a2de4c59909c3b8e02dc7b | |
parent | 44ba603c0ef5ee05e89e7021c7df8061b3d5f56b (diff) |
backend/drm: reject DMA-BUFs with flags
-rw-r--r-- | backend/drm/drm.c | 3 |
1 files changed, 3 insertions, 0 deletions
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; } |