aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGerd Moellmann2000-12-13 14:24:01 +0000
committerGerd Moellmann2000-12-13 14:24:01 +0000
commit8fd9a6667c27c75c92ce4ebaafe247a5a6751835 (patch)
tree15861073650b48b8287eca1199817eb045b3a7ea /src
parentd5b3eb1b54e6c753077306b0a864f3459992f44b (diff)
downloademacs-8fd9a6667c27c75c92ce4ebaafe247a5a6751835.tar.gz
emacs-8fd9a6667c27c75c92ce4ebaafe247a5a6751835.zip
(update_window): If do_mouse_tracking is non-nil,
don't interrupt the update for pending input initially, i.e. update at least some lines.
Diffstat (limited to 'src')
-rw-r--r--src/dispnew.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dispnew.c b/src/dispnew.c
index 30db7dda298..7694233e36f 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -3766,6 +3766,7 @@ update_window (w, force_p)
3766 int paused_p; 3766 int paused_p;
3767 int preempt_count = baud_rate / 2400 + 1; 3767 int preempt_count = baud_rate / 2400 + 1;
3768 extern int input_pending; 3768 extern int input_pending;
3769 extern Lisp_Object do_mouse_tracking;
3769#if GLYPH_DEBUG 3770#if GLYPH_DEBUG
3770 struct frame *f = XFRAME (WINDOW_FRAME (w)); 3771 struct frame *f = XFRAME (WINDOW_FRAME (w));
3771 extern struct frame *updating_frame; 3772 extern struct frame *updating_frame;
@@ -3783,7 +3784,7 @@ update_window (w, force_p)
3783 3784
3784 /* If forced to complete the update, or if no input is pending, do 3785 /* If forced to complete the update, or if no input is pending, do
3785 the update. */ 3786 the update. */
3786 if (force_p || !input_pending) 3787 if (force_p || !input_pending || !NILP (do_mouse_tracking))
3787 { 3788 {
3788 struct glyph_row *row, *end; 3789 struct glyph_row *row, *end;
3789 struct glyph_row *mode_line_row; 3790 struct glyph_row *mode_line_row;