summaryrefslogtreecommitdiff
path: root/src/xdisp.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1995-02-17 08:36:04 +0000
committerRichard M. Stallman <rms@gnu.org>1995-02-17 08:36:04 +0000
commit9769686d8b6b89a52831394959b9d64ad4f62ccb (patch)
treec5a0e8ae0b79df76b0d4851e299bfd73e13220f0 /src/xdisp.c
parentbb1513c9590fec000fb8bb65b3bf45fd015fe3db (diff)
downloademacs-9769686d8b6b89a52831394959b9d64ad4f62ccb.tar.gz
(redisplay): Don't display nonselected terminal frames.
Diffstat (limited to 'src/xdisp.c')
-rw-r--r--src/xdisp.c23
1 files changed, 13 insertions, 10 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index 89cd1701961..e800c42d754 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -948,19 +948,22 @@ redisplay ()
FOR_EACH_FRAME (tail, frame)
{
FRAME_PTR f = XFRAME (frame);
+ 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);
+ /* 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));
+ 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);
+ /* 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))