projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8460fc
)
* src/xterm.c (x_update_opaque_region): Avoid crash at startup in Lucid build
author
Stefan Monnier
<monnier@iro.umontreal.ca>
Sat, 12 Feb 2022 22:47:21 +0000
(17:47 -0500)
committer
Stefan Monnier
<monnier@iro.umontreal.ca>
Sat, 12 Feb 2022 22:47:21 +0000
(17:47 -0500)
src/xterm.c
patch
|
blob
|
history
diff --git
a/src/xterm.c
b/src/xterm.c
index 7195311737f1fc925d4b87493a8decf6dcff00ed..e107c65aa2d5846bbde124fc293fc88ed5674cb9 100644
(file)
--- 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 ();