changeset 7080:4751ee5f263e

(Fselect_window): Use Fselect_frame.
author Richard M. Stallman <rms@gnu.org>
date Sun, 24 Apr 1994 08:34:14 +0000
parents 5b975a51928f
children cdf928b318d7
files src/window.c
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/window.c	Sun Apr 24 08:33:40 1994 +0000
+++ b/src/window.c	Sun Apr 24 08:34:14 1994 +0000
@@ -1668,7 +1668,11 @@
   if (XFRAME (WINDOW_FRAME (w)) != selected_frame)
     {
       XFRAME (WINDOW_FRAME (w))->selected_window = window;
-      Fhandle_switch_frame (WINDOW_FRAME (w), Qnil);
+      /* Use this rather than Fhandle_switch_frame
+	 so that FRAME_FOCUS_FRAME is moved appropriately as we
+	 move around in the state where a minibuffer in a separate
+	 frame is active.  */
+      Fselect_frame (WINDOW_FRAME (w), Qnil);
     }
   else
     selected_frame->selected_window = window;