From ba6a9283817254dca90fd8f9ee695504e7c20908 Mon Sep 17 00:00:00 2001 From: Lyude Paul Date: Wed, 20 Jun 2018 19:12:32 -0400 Subject: [PATCH] randr: Scream when creating a shared pixmap fails This seems like a problem worth screaming about. Signed-off-by: Lyude Paul Reviewed-by: Dave Airlie (cherry picked from commit dc90b1c3c328f1d0b022a234b69ef32bda7ccb01) --- randr/rrcrtc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/randr/rrcrtc.c b/randr/rrcrtc.c index d7d937e80..74dc5a265 100644 --- a/randr/rrcrtc.c +++ b/randr/rrcrtc.c @@ -534,6 +534,7 @@ rrSetupPixmapSharing(RRCrtcPtr crtc, int width, int height, width, height, depth, x, y, rotation); if (spix_front == NULL) { + ErrorF("randr: failed to create shared pixmap\n"); return FALSE; }