Mercurial > emacs
changeset 11773:bde1a67e0455
[MULTI_FRAME] (make_terminal_frame): Don't set Vterminal_frame.
(do_switch_frame): Set Vterminal_frame to selected_frame.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Tue, 09 May 1995 04:49:03 +0000 |
parents | b4b862c05017 |
children | 0b5cb5170084 |
files | src/frame.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/frame.c Tue May 09 04:47:52 1995 +0000 +++ b/src/frame.c Tue May 09 04:49:03 1995 +0000 @@ -369,7 +369,6 @@ 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 @@ 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);