changeset 6472:7491cbb3d1a3

(read_minibuf): Don't redirect focus unless minibuf is on another frame.
author Karl Heuer <kwzh@gnu.org>
date Tue, 22 Mar 1994 22:59:01 +0000
parents 4e6b54b64d94
children 76bb655df959
files src/minibuf.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/minibuf.c	Tue Mar 22 22:20:38 1994 +0000
+++ b/src/minibuf.c	Tue Mar 22 22:59:01 1994 +0000
@@ -215,7 +215,8 @@
     }
 
 #ifdef MULTI_FRAME
-  Fredirect_frame_focus (Fselected_frame (), mini_frame);
+  if (XFRAME (mini_frame) != selected_frame)
+    Fredirect_frame_focus (Fselected_frame (), mini_frame);
 #endif
   Fmake_local_variable (Qprint_escape_newlines);
   print_escape_newlines = 1;