diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/frame.c | 2 |
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 () | |||
| 369 | f->visible = 1; /* FRAME_SET_VISIBLE wd set frame_garbaged. */ | 369 | f->visible = 1; /* FRAME_SET_VISIBLE wd set frame_garbaged. */ |
| 370 | f->async_visible = 1; /* Don't let visible be cleared later. */ | 370 | f->async_visible = 1; /* Don't let visible be cleared later. */ |
| 371 | f->display.nothing = 1; /* Nonzero means frame isn't deleted. */ | 371 | f->display.nothing = 1; /* Nonzero means frame isn't deleted. */ |
| 372 | XSETFRAME (Vterminal_frame, f); | ||
| 373 | return f; | 372 | return f; |
| 374 | } | 373 | } |
| 375 | 374 | ||
| @@ -472,6 +471,7 @@ do_switch_frame (frame, no_enter, track) | |||
| 472 | switching means we must redisplay the whole thing. */ | 471 | switching means we must redisplay the whole thing. */ |
| 473 | windows_or_buffers_changed++; | 472 | windows_or_buffers_changed++; |
| 474 | SET_FRAME_GARBAGED (XFRAME (frame)); | 473 | SET_FRAME_GARBAGED (XFRAME (frame)); |
| 474 | XSETFRAME (Vterminal_frame, frame); | ||
| 475 | } | 475 | } |
| 476 | 476 | ||
| 477 | selected_frame = XFRAME (frame); | 477 | selected_frame = XFRAME (frame); |