From: Stefan Monnier Date: Sat, 12 Feb 2022 22:47:21 +0000 (-0500) Subject: * src/xterm.c (x_update_opaque_region): Avoid crash at startup in Lucid build X-Git-Tag: emacs-29.0.90~2353 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8e0b043f49a014d1e3f45bd82917c31aa4181951;p=emacs.git * src/xterm.c (x_update_opaque_region): Avoid crash at startup in Lucid build --- 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 ();