Commit 8fd9a666 authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(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.
parent d5b3eb1b
......@@ -3766,6 +3766,7 @@ update_window (w, force_p)
int paused_p;
int preempt_count = baud_rate / 2400 + 1;
extern int input_pending;
extern Lisp_Object do_mouse_tracking;
#if GLYPH_DEBUG
struct frame *f = XFRAME (WINDOW_FRAME (w));
extern struct frame *updating_frame;
......@@ -3783,7 +3784,7 @@ update_window (w, force_p)
/* If forced to complete the update, or if no input is pending, do
the update. */
if (force_p || !input_pending)
if (force_p || !input_pending || !NILP (do_mouse_tracking))
{
struct glyph_row *row, *end;
struct glyph_row *mode_line_row;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment