changeset 3970:020fe391d5c1

* frame.c (Fredirect_frame_focus): Allow redirection of focus of dead frames.
author Jim Blandy <jimb@redhat.com>
date Sun, 04 Jul 1993 01:53:24 +0000
parents 6851e4266920
children 6e7afc0a7fbc
files src/frame.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/frame.c	Sun Jul 04 01:46:30 1993 +0000
+++ b/src/frame.c	Sun Jul 04 01:53:24 1993 +0000
@@ -980,7 +980,10 @@
   (frame, focus_frame)
     Lisp_Object frame, focus_frame;
 {
-  CHECK_LIVE_FRAME (frame, 0);
+  /* Note that we don't check for a live frame here.  It's reasonable
+     to redirect the focus of a frame you're about to delete, if you
+     know what other frame should receive those keystrokes.  */
+  CHECK_FRAME (frame, 0);
 
   if (! NILP (focus_frame))
     CHECK_LIVE_FRAME (focus_frame, 1);