aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/dispnew.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/dispnew.c b/src/dispnew.c
index 4875f736b99..07eccf05fb4 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -2467,6 +2467,10 @@ build_frame_matrix_from_leaf_window (frame_matrix, w)
2467 2467
2468 /* If rows are in sync, we don't have to copy glyphs because 2468 /* If rows are in sync, we don't have to copy glyphs because
2469 frame and window share glyphs. */ 2469 frame and window share glyphs. */
2470
2471#if GLYPH_DEBUG
2472 strcpy (w->current_matrix->method, w->desired_matrix->method);
2473#endif
2470 } 2474 }
2471 2475
2472 /* Set number of used glyphs in the frame matrix. Since we fill 2476 /* Set number of used glyphs in the frame matrix. Since we fill
@@ -2628,8 +2632,11 @@ mirror_make_current (w, frame_row)
2628 = MATRIX_ROW (w->current_matrix, row); 2632 = MATRIX_ROW (w->current_matrix, row);
2629 struct glyph_row *desired_row 2633 struct glyph_row *desired_row
2630 = MATRIX_ROW (w->desired_matrix, row); 2634 = MATRIX_ROW (w->desired_matrix, row);
2631 2635
2632 assign_row (current_row, desired_row); 2636 if (desired_row->enabled_p)
2637 assign_row (current_row, desired_row);
2638 else
2639 swap_glyph_pointers (desired_row, current_row);
2633 current_row->enabled_p = 1; 2640 current_row->enabled_p = 1;
2634 } 2641 }
2635 } 2642 }