From 1314409546d308c46c91d85b7e85c52c9dda6ef9 Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Sun, 4 Jul 1993 01:53:24 +0000 Subject: [PATCH] * frame.c (Fredirect_frame_focus): Allow redirection of focus of dead frames. --- src/frame.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/frame.c b/src/frame.c index 78e24ead006..e706283a0b2 100644 --- a/src/frame.c +++ b/src/frame.c @@ -980,7 +980,10 @@ The redirection lasts until `redirect-frame-focus' is called to change it.") (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); -- 2.39.5