From 16d07a24c468c7d475dfe1d68e219f50bf2dbd92 Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Tue, 9 May 1995 04:49:03 +0000 Subject: [PATCH] [MULTI_FRAME] (make_terminal_frame): Don't set Vterminal_frame. (do_switch_frame): Set Vterminal_frame to selected_frame. --- src/frame.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.2