comparison src/dispnew.c @ 83037:03a73693678e

Merged in changes from CVS HEAD Patches applied: * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-71 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-72 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-73 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-74 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-75 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-76 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-77 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-78 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-79 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-80 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-81 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-82 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-83 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-84 Add lisp/emacs-lisp/macroexp.el * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-85 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-86 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-87 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-88 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-89 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-90 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-91 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-92 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-93 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-94 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-95 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-96 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-97 Update from CVS git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-77
author Karoly Lorentey <lorentey@elte.hu>
date Tue, 17 Feb 2004 01:52:25 +0000
parents 6ce586a7243e ccacbf7f76b2
children a871be7b26a5
comparison
equal deleted inserted replaced
83036:fc638739c70f 83037:03a73693678e
1501 } 1501 }
1502 1502
1503 if (a->fill_line_p != b->fill_line_p 1503 if (a->fill_line_p != b->fill_line_p
1504 || a->cursor_in_fringe_p != b->cursor_in_fringe_p 1504 || a->cursor_in_fringe_p != b->cursor_in_fringe_p
1505 || a->left_fringe_bitmap != b->left_fringe_bitmap 1505 || a->left_fringe_bitmap != b->left_fringe_bitmap
1506 || a->left_fringe_face_id != b->left_fringe_face_id
1506 || a->right_fringe_bitmap != b->right_fringe_bitmap 1507 || a->right_fringe_bitmap != b->right_fringe_bitmap
1508 || a->right_fringe_face_id != b->right_fringe_face_id
1509 || a->overlay_arrow_p != b->overlay_arrow_p
1507 || a->exact_window_width_line_p != b->exact_window_width_line_p 1510 || a->exact_window_width_line_p != b->exact_window_width_line_p
1508 || a->overlapped_p != b->overlapped_p 1511 || a->overlapped_p != b->overlapped_p
1509 || (MATRIX_ROW_CONTINUATION_LINE_P (a) 1512 || (MATRIX_ROW_CONTINUATION_LINE_P (a)
1510 != MATRIX_ROW_CONTINUATION_LINE_P (b)) 1513 != MATRIX_ROW_CONTINUATION_LINE_P (b))
1511 /* Different partially visible characters on left margin. */ 1514 /* Different partially visible characters on left margin. */
3818 3821
3819 /* Update windows. */ 3822 /* Update windows. */
3820 paused_p = update_window_tree (root_window, force_p); 3823 paused_p = update_window_tree (root_window, force_p);
3821 update_end (f); 3824 update_end (f);
3822 3825
3823 #if 0 /* This flush is a performance bottleneck under X, 3826 /* This flush is a performance bottleneck under X,
3824 and it doesn't seem to be necessary anyway. */ 3827 and it doesn't seem to be necessary anyway (in general).
3825 FRAME_RIF (f)->flush_display (f); 3828 It is necessary when resizing the window with the mouse, or
3826 #endif 3829 at least the fringes are not redrawn in a timely manner. ++kfs */
3830 if (f->force_flush_display_p)
3831 {
3832 FRAME_RIF (f)->flush_display (f);
3833 f->force_flush_display_p = 0;
3834 }
3827 } 3835 }
3828 else 3836 else
3829 { 3837 {
3830 /* We are working on frame matrix basis. Set the frame on whose 3838 /* We are working on frame matrix basis. Set the frame on whose
3831 frame matrix we operate. */ 3839 frame matrix we operate. */
4522 /* Draw truncation marks etc. */ 4530 /* Draw truncation marks etc. */
4523 if (!current_row->enabled_p 4531 if (!current_row->enabled_p
4524 || desired_row->y != current_row->y 4532 || desired_row->y != current_row->y
4525 || desired_row->visible_height != current_row->visible_height 4533 || desired_row->visible_height != current_row->visible_height
4526 || desired_row->cursor_in_fringe_p != current_row->cursor_in_fringe_p 4534 || desired_row->cursor_in_fringe_p != current_row->cursor_in_fringe_p
4535 || desired_row->overlay_arrow_p != current_row->overlay_arrow_p
4527 || current_row->redraw_fringe_bitmaps_p 4536 || current_row->redraw_fringe_bitmaps_p
4528 || desired_row->mode_line_p != current_row->mode_line_p 4537 || desired_row->mode_line_p != current_row->mode_line_p
4529 || desired_row->exact_window_width_line_p != current_row->exact_window_width_line_p 4538 || desired_row->exact_window_width_line_p != current_row->exact_window_width_line_p
4530 || (MATRIX_ROW_CONTINUATION_LINE_P (desired_row) 4539 || (MATRIX_ROW_CONTINUATION_LINE_P (desired_row)
4531 != MATRIX_ROW_CONTINUATION_LINE_P (current_row))) 4540 != MATRIX_ROW_CONTINUATION_LINE_P (current_row)))
5030 to = MATRIX_ROW (current_matrix, r->desired_vpos + j); 5039 to = MATRIX_ROW (current_matrix, r->desired_vpos + j);
5031 from = MATRIX_ROW (desired_matrix, r->desired_vpos + j); 5040 from = MATRIX_ROW (desired_matrix, r->desired_vpos + j);
5032 to_overlapped_p = to->overlapped_p; 5041 to_overlapped_p = to->overlapped_p;
5033 if (!from->mode_line_p && !w->pseudo_window_p 5042 if (!from->mode_line_p && !w->pseudo_window_p
5034 && (to->left_fringe_bitmap != from->left_fringe_bitmap 5043 && (to->left_fringe_bitmap != from->left_fringe_bitmap
5035 || to->right_fringe_bitmap != from->right_fringe_bitmap)) 5044 || to->right_fringe_bitmap != from->right_fringe_bitmap
5045 || to->left_fringe_face_id != from->left_fringe_face_id
5046 || to->right_fringe_face_id != from->right_fringe_face_id
5047 || to->overlay_arrow_p != from->overlay_arrow_p))
5036 from->redraw_fringe_bitmaps_p = 1; 5048 from->redraw_fringe_bitmaps_p = 1;
5037 assign_row (to, from); 5049 assign_row (to, from);
5038 to->enabled_p = 1, from->enabled_p = 0; 5050 to->enabled_p = 1, from->enabled_p = 0;
5039 to->overlapped_p = to_overlapped_p; 5051 to->overlapped_p = to_overlapped_p;
5040 } 5052 }