From f3c662324a8252087028616fe8b151e8873df982 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 9 Nov 2024 14:07:09 +0200 Subject: [PATCH] ; * src/dispnew.c (prepare_desired_root_row): Add commentary (bug#74274). (cherry picked from commit aa8bebf9b3eff9e53eeb1dc1a91fcc9ee5ee1095) --- src/dispnew.c | 2 ++ 1 file changed, 2 insertions(+) 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); -- 2.39.5