From 8e0b043f49a014d1e3f45bd82917c31aa4181951 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Sat, 12 Feb 2022 17:47:21 -0500 Subject: [PATCH] * src/xterm.c (x_update_opaque_region): Avoid crash at startup in Lucid build --- src/xterm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xterm.c b/src/xterm.c index 7195311737f..e107c65aa2d 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -451,7 +451,7 @@ x_update_opaque_region (struct frame *f, XEvent *configure) : FRAME_PIXEL_HEIGHT (f))}; #endif - if (!FRAME_DISPLAY_INFO (f)->alpha_bits) + if (!(f && FRAME_DISPLAY_INFO (f)->alpha_bits)) return; block_input (); -- 2.39.5