diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/frame.c | 5 |
1 files changed, 4 insertions, 1 deletions
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.") | |||
| 980 | (frame, focus_frame) | 980 | (frame, focus_frame) |
| 981 | Lisp_Object frame, focus_frame; | 981 | Lisp_Object frame, focus_frame; |
| 982 | { | 982 | { |
| 983 | CHECK_LIVE_FRAME (frame, 0); | 983 | /* Note that we don't check for a live frame here. It's reasonable |
| 984 | to redirect the focus of a frame you're about to delete, if you | ||
| 985 | know what other frame should receive those keystrokes. */ | ||
| 986 | CHECK_FRAME (frame, 0); | ||
| 984 | 987 | ||
| 985 | if (! NILP (focus_frame)) | 988 | if (! NILP (focus_frame)) |
| 986 | CHECK_LIVE_FRAME (focus_frame, 1); | 989 | CHECK_LIVE_FRAME (focus_frame, 1); |