From 550f0e6a236d5019222bf9f5a7dc4a6f0a73093e Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Fri, 26 Jan 2001 14:41:54 +0000 Subject: (do_switch_frame): If selected frame has a mini-window, resize that to exact size. --- src/ChangeLog | 5 ++++- src/frame.c | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index 49ae3e66d29..5229e927211 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,8 @@ 2001-01-26 Gerd Moellmann + * frame.c (do_switch_frame): If selected frame has a mini-window, + resize that to exact size. + * dispnew.c (adjust_glyph_matrix): Always clear desired matrices. * xdisp.c (display_line): Simplify check for glyphs fitting @@ -7,7 +10,7 @@ * xfns.c (xic_style): New variable. (create_frame_xic): Move static variable to global scope for - the case that `static' get's defined away. + the case that `static' gets defined away. 2001-01-26 Kenichi Handa diff --git a/src/frame.c b/src/frame.c index fae6f8c7b3d..6850c92dc27 100644 --- a/src/frame.c +++ b/src/frame.c @@ -620,6 +620,9 @@ do_switch_frame (frame, no_enter, track) #endif /* HAVE_X_WINDOWS */ #endif /* ! 0 */ + if (FRAME_HAS_MINIBUF_P (sf)) + resize_mini_window (XWINDOW (FRAME_MINIBUF_WINDOW (sf)), 1); + selected_frame = frame; if (! FRAME_MINIBUF_ONLY_P (XFRAME (selected_frame))) last_nonminibuf_frame = XFRAME (selected_frame); -- cgit v1.2.3