From: Eli Zaretskii Date: Sat, 9 Nov 2024 12:07:09 +0000 (+0200) Subject: ; * src/dispnew.c (prepare_desired_root_row): Add commentary (bug#74274). X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f3c662324a8252087028616fe8b151e8873df982;p=emacs.git ; * src/dispnew.c (prepare_desired_root_row): Add commentary (bug#74274). (cherry picked from commit aa8bebf9b3eff9e53eeb1dc1a91fcc9ee5ee1095) --- diff --git a/src/dispnew.c b/src/dispnew.c index 15fbf983b4b..5ac8b7a6a71 100644 --- a/src/dispnew.c +++ b/src/dispnew.c @@ -3514,6 +3514,8 @@ prepare_desired_root_row (struct frame *root, int y) /* Start with the root's desired matrix row. If that hasn't been redisplayed, copy from the root's current matrix. */ struct glyph_row *root_row = MATRIX_ROW (root->desired_matrix, y); + /* Don't copy rows that aren't enabled, in particuler because they + might not have the 'frame' member of glyphs set. */ if (!root_row->enabled_p) { struct glyph_row *from = MATRIX_ROW (root->current_matrix, y);