projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ac85aa
)
Avoid rare assertion violations when deleting a frame
author
Eli Zaretskii
<eliz@gnu.org>
Mon, 10 Jun 2024 19:13:29 +0000
(22:13 +0300)
committer
Eli Zaretskii
<eliz@gnu.org>
Mon, 10 Jun 2024 19:13:29 +0000
(22:13 +0300)
* src/dispnew.c (adjust_frame_glyphs): Allow nrows = 0 when
deleting a frame. (Bug#71475)
src/dispnew.c
patch
|
blob
|
history
diff --git
a/src/dispnew.c
b/src/dispnew.c
index e74147f1456e5c6a2542d8691828ef3fb9cb5382..8bbb818bc19c3691b1871a81f56f27d692408537 100644
(file)
--- a/
src/dispnew.c
+++ b/
src/dispnew.c
@@
-1851,6
+1851,7
@@
adjust_frame_glyphs (struct frame *f)
eassert (FRAME_INITIAL_P (f)
|| noninteractive
|| !initialized
+ || !f->terminal->name /* frame is being deleted */
|| (f->current_matrix
&& f->current_matrix->nrows > 0
&& f->current_matrix->rows