aboutsummaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
Diffstat (limited to 'backend')
-rw-r--r--backend/x11/output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/x11/output.c b/backend/x11/output.c
index ea60d80b..788be957 100644
--- a/backend/x11/output.c
+++ b/backend/x11/output.c
@@ -427,7 +427,7 @@ static bool output_cursor_to_picture(struct wlr_x11_output *output,
wlr_renderer_end(x11->renderer);
bool result = wlr_renderer_read_pixels(
- x11->renderer, WL_SHM_FORMAT_ARGB8888, NULL,
+ x11->renderer, DRM_FORMAT_ARGB8888, NULL,
width * 4, width, height, 0, 0, 0, 0,
data);