[PATCH xserver 2/2] randr: Scream when creating a shared pixmap fails

Lyude Paul lyude at redhat.com
Wed Jun 20 22:33:41 UTC 2018


This seems like a problem worth screaming about.

Signed-off-by: Lyude Paul <lyude at redhat.com>
---
 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;
     }
 
-- 
2.17.1



More information about the xorg-devel mailing list