aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1995-02-17 08:36:04 +0000
committerRichard M. Stallman1995-02-17 08:36:04 +0000
commit9769686d8b6b89a52831394959b9d64ad4f62ccb (patch)
treec5a0e8ae0b79df76b0d4851e299bfd73e13220f0 /src
parentbb1513c9590fec000fb8bb65b3bf45fd015fe3db (diff)
downloademacs-9769686d8b6b89a52831394959b9d64ad4f62ccb.tar.gz
emacs-9769686d8b6b89a52831394959b9d64ad4f62ccb.zip
(redisplay): Don't display nonselected terminal frames.
Diffstat (limited to 'src')
-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 ()
948 FOR_EACH_FRAME (tail, frame) 948 FOR_EACH_FRAME (tail, frame)
949 { 949 {
950 FRAME_PTR f = XFRAME (frame); 950 FRAME_PTR f = XFRAME (frame);
951 if (! FRAME_TERMCAP_P (f) || f == selected_frame)
952 {
951 953
952 /* Mark all the scroll bars to be removed; we'll redeem the ones 954 /* Mark all the scroll bars to be removed; we'll redeem the ones
953 we want when we redisplay their windows. */ 955 we want when we redisplay their windows. */
954 if (condemn_scroll_bars_hook) 956 if (condemn_scroll_bars_hook)
955 (*condemn_scroll_bars_hook) (f); 957 (*condemn_scroll_bars_hook) (f);
956 958
957 if (FRAME_VISIBLE_P (f)) 959 if (FRAME_VISIBLE_P (f))
958 redisplay_windows (FRAME_ROOT_WINDOW (f)); 960 redisplay_windows (FRAME_ROOT_WINDOW (f));
959 961
960 /* Any scroll bars which redisplay_windows should have nuked 962 /* Any scroll bars which redisplay_windows should have nuked
961 should now go away. */ 963 should now go away. */
962 if (judge_scroll_bars_hook) 964 if (judge_scroll_bars_hook)
963 (*judge_scroll_bars_hook) (f); 965 (*judge_scroll_bars_hook) (f);
966 }
964 } 967 }
965 } 968 }
966 else if (FRAME_VISIBLE_P (selected_frame)) 969 else if (FRAME_VISIBLE_P (selected_frame))