changeset 23598:118a5f3c79de

(do_switch_frame): Update minibuf_window if necessary.
author Kenichi Handa <handa@m17n.org>
date Sat, 31 Oct 1998 05:12:07 +0000
parents fda73fa21974
children ab69e7987be0
files src/frame.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/frame.c	Sat Oct 31 05:12:07 1998 +0000
+++ b/src/frame.c	Sat Oct 31 05:12:07 1998 +0000
@@ -632,6 +632,10 @@
 
   Fselect_window (XFRAME (frame)->selected_window);
 
+  if (! FRAME_MINIBUF_ONLY_P (selected_frame)
+      && FRAME_HAS_MINIBUF_P (selected_frame))
+    minibuf_window = selected_frame->minibuffer_window;
+
   /* We want to make sure that the next event generates a frame-switch
      event to the appropriate frame.  This seems kludgy to me, but
      before you take it out, make sure that evaluating something like