aboutsummaryrefslogtreecommitdiffstats
path: root/src/window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/window.c b/src/window.c
index 966960edd90..5dced198811 100644
--- a/src/window.c
+++ b/src/window.c
@@ -6798,7 +6798,9 @@ foreach_window (f, fn, user_data)
6798 int (* fn) P_ ((struct window *, void *)); 6798 int (* fn) P_ ((struct window *, void *));
6799 void *user_data; 6799 void *user_data;
6800{ 6800{
6801 foreach_window_1 (XWINDOW (FRAME_ROOT_WINDOW (f)), fn, user_data); 6801 /* Fdelete_frame may set FRAME_ROOT_WINDOW (f) to Qnil. */
6802 if (WINDOWP (FRAME_ROOT_WINDOW (f)))
6803 foreach_window_1 (XWINDOW (FRAME_ROOT_WINDOW (f)), fn, user_data);
6802} 6804}
6803 6805
6804 6806