changeset 35611:3e7efd5ea1da

(do_switch_frame): If selected frame has a mini-window, resize that to exact size.
author Gerd Moellmann <gerd@gnu.org>
date Fri, 26 Jan 2001 14:37:17 +0000
parents 1e1f98e3d982
children 446e8151c90f
files src/frame.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/frame.c	Fri Jan 26 14:19:34 2001 +0000
+++ b/src/frame.c	Fri Jan 26 14:37:17 2001 +0000
@@ -620,6 +620,9 @@
 #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);