diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-06-30 15:27:45 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-30 15:27:45 -0700 |
commit | 015ebc5750c4224d4796bba0e6deeb20c8d8a777 (patch) | |
tree | 2897ecafe78c4ca7686f63a68392aed70db40e70 /backend/drm | |
parent | 02dfa9101ec7fd8328ed329d2f2faa815b1ad61c (diff) | |
parent | cc9b198f9e4e00e59773e78ab8afe1c4c0fd1ee1 (diff) |
Merge pull request #1069 from emersion/screencopy
Add wlr-screencopy-unstable-v1 support
Diffstat (limited to 'backend/drm')
-rw-r--r-- | backend/drm/drm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/drm/drm.c b/backend/drm/drm.c index f4a971a2..ae462568 100644 --- a/backend/drm/drm.c +++ b/backend/drm/drm.c @@ -683,7 +683,7 @@ static bool drm_connector_set_cursor(struct wlr_output *output, wlr_render_texture_with_matrix(rend, texture, matrix, 1.0); wlr_renderer_end(rend); - wlr_renderer_read_pixels(rend, WL_SHM_FORMAT_ARGB8888, bo_stride, + wlr_renderer_read_pixels(rend, WL_SHM_FORMAT_ARGB8888, NULL, bo_stride, plane->surf.width, plane->surf.height, 0, 0, 0, 0, bo_data); swap_drm_surface_buffers(&plane->surf, NULL); |