(Fredirect_frame_focus): Don't call Ffocus_frame.
authorRichard M. Stallman <rms@gnu.org>
Wed, 4 Sep 1996 05:41:48 +0000 (05:41 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 4 Sep 1996 05:41:48 +0000 (05:41 +0000)
src/frame.c

index 8dea582..41318ff 100644 (file)
@@ -1617,13 +1617,6 @@ The redirection lasts until `redirect-frame-focus' is called to change it.")
 
   XFRAME (frame)->focus_frame = focus_frame;
 
-  /* I think this should be done with a hook.  */
-#ifdef HAVE_WINDOW_SYSTEM
-  if (!NILP (focus_frame) && ! EQ (focus_frame, frame)
-      && (FRAME_WINDOW_P (XFRAME (focus_frame))))
-    Ffocus_frame (focus_frame);
-#endif
-
   if (frame_rehighlight_hook)
     (*frame_rehighlight_hook) (XFRAME (frame));