]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fselect_window): Use Fselect_frame.
authorRichard M. Stallman <rms@gnu.org>
Sun, 24 Apr 1994 08:34:14 +0000 (08:34 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 24 Apr 1994 08:34:14 +0000 (08:34 +0000)
src/window.c

index a73ad3fce82248c70b4dc03eff0f09e9a31e2dd6..b33f3139a1c46be3613c935a67f4d90c6d63ddbe 100644 (file)
@@ -1668,7 +1668,11 @@ before each command.")
   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;