From 5164ee8e40de0b6dec527d790c0cc7c7ab48b6c1 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 20 Mar 1994 01:16:55 +0000 Subject: [PATCH] (wait_reading_process_input, both versions): Don't call redisplay_preserve_echo_area unless do_display. --- src/process.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/process.c b/src/process.c index 8db5209620d..6f74d50a995 100644 --- a/src/process.c +++ b/src/process.c @@ -1854,7 +1854,7 @@ wait_reading_process_input (time_limit, microsecs, read_kbd, do_display) condition here; if a SIGIO arrives between now and the select and indicates that a frame is trashed, the select may block displaying a trashed screen. */ - if (frame_garbaged) + if (frame_garbaged && do_display) redisplay_preserve_echo_area (); if (XINT (read_kbd) && detect_input_pending ()) @@ -3195,7 +3195,7 @@ extern int frame_garbaged; `subprocesses' isn't defined. do_display != 0 means redisplay should be done to show subprocess - output that arrives. This version of the function ignores it. + output that arrives. Return true iff we received input from any process. */ @@ -3262,7 +3262,7 @@ wait_reading_process_input (time_limit, microsecs, read_kbd, do_display) /* If a frame has been newly mapped and needs updating, reprocess its display stuff. */ - if (frame_garbaged) + if (frame_garbaged && do_display) redisplay_preserve_echo_area (); if (XINT (read_kbd) && detect_input_pending ()) -- 2.39.5