Mercurial > emacs
changeset 10769:813b186e70d8
(redisplay): Don't display nonselected terminal frames.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 17 Feb 1995 08:36:04 +0000 |
parents | 938451cf1b10 |
children | 79745e047484 |
files | src/xdisp.c |
diffstat | 1 files changed, 16 insertions(+), 13 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xdisp.c Fri Feb 17 08:09:33 1995 +0000 +++ b/src/xdisp.c Fri Feb 17 08:36:04 1995 +0000 @@ -948,19 +948,22 @@ FOR_EACH_FRAME (tail, frame) { FRAME_PTR f = XFRAME (frame); - - /* Mark all the scroll bars to be removed; we'll redeem the ones - we want when we redisplay their windows. */ - if (condemn_scroll_bars_hook) - (*condemn_scroll_bars_hook) (f); - - if (FRAME_VISIBLE_P (f)) - redisplay_windows (FRAME_ROOT_WINDOW (f)); - - /* Any scroll bars which redisplay_windows should have nuked - should now go away. */ - if (judge_scroll_bars_hook) - (*judge_scroll_bars_hook) (f); + if (! FRAME_TERMCAP_P (f) || f == selected_frame) + { + + /* Mark all the scroll bars to be removed; we'll redeem the ones + we want when we redisplay their windows. */ + if (condemn_scroll_bars_hook) + (*condemn_scroll_bars_hook) (f); + + if (FRAME_VISIBLE_P (f)) + redisplay_windows (FRAME_ROOT_WINDOW (f)); + + /* Any scroll bars which redisplay_windows should have nuked + should now go away. */ + if (judge_scroll_bars_hook) + (*judge_scroll_bars_hook) (f); + } } } else if (FRAME_VISIBLE_P (selected_frame))