]> git.eshelyaron.com Git - emacs.git/commitdiff
; * src/dispnew.c (prepare_desired_root_row): Add commentary (bug#74274).
authorEli Zaretskii <eliz@gnu.org>
Sat, 9 Nov 2024 12:07:09 +0000 (14:07 +0200)
committerEshel Yaron <me@eshelyaron.com>
Mon, 23 Dec 2024 14:54:21 +0000 (15:54 +0100)
(cherry picked from commit aa8bebf9b3eff9e53eeb1dc1a91fcc9ee5ee1095)

src/dispnew.c

index 15fbf983b4b43b1e12e9179eae7367ff1de37e1a..5ac8b7a6a71d39733d4a9314341115c5c7068b52 100644 (file)
@@ -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);