summaryrefslogtreecommitdiff
path: root/src/frame.c
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1995-05-09 04:49:03 +0000
committerKarl Heuer <kwzh@gnu.org>1995-05-09 04:49:03 +0000
commitfa8d11dbfca2af464aa328725bc97c65608e1f6d (patch)
treee8497a0525a4c4a68dcfd3d8adf9f3eab6500454 /src/frame.c
parent86e928a5ddee8983e5933e284e85f427569e2ff9 (diff)
downloademacs-fa8d11dbfca2af464aa328725bc97c65608e1f6d.tar.gz
[MULTI_FRAME] (make_terminal_frame): Don't set Vterminal_frame.
(do_switch_frame): Set Vterminal_frame to selected_frame.
Diffstat (limited to 'src/frame.c')
-rw-r--r--src/frame.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frame.c b/src/frame.c
index 145bc110a3e..bac0bbaa6ba 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -369,7 +369,6 @@ make_terminal_frame ()
f->visible = 1; /* FRAME_SET_VISIBLE wd set frame_garbaged. */
f->async_visible = 1; /* Don't let visible be cleared later. */
f->display.nothing = 1; /* Nonzero means frame isn't deleted. */
- XSETFRAME (Vterminal_frame, f);
return f;
}
@@ -472,6 +471,7 @@ do_switch_frame (frame, no_enter, track)
switching means we must redisplay the whole thing. */
windows_or_buffers_changed++;
SET_FRAME_GARBAGED (XFRAME (frame));
+ XSETFRAME (Vterminal_frame, frame);
}
selected_frame = XFRAME (frame);