From 9e57df62a8343ec67505750d1dbd4d9c0d3247d3 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Tue, 6 Mar 2001 19:33:47 +0000 Subject: [PATCH] (Fx_create_frame): Clear Vwindow_list. --- src/w32fns.c | 5 +++++ src/xfns.c | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/src/w32fns.c b/src/w32fns.c index 74aaf164bec..f3001649f81 100644 --- a/src/w32fns.c +++ b/src/w32fns.c @@ -5462,6 +5462,11 @@ This function is an internal primitive--use `make-frame' instead.") ; } UNGCPRO; + + /* Make sure windows on this frame appear in calls to next-window + and similar functions. */ + Vwindow_list = Qnil; + return unbind_to (count, frame); } diff --git a/src/xfns.c b/src/xfns.c index 8ed08ee75ff..97c57382f41 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -4455,6 +4455,11 @@ This function is an internal primitive--use `make-frame' instead.") } UNGCPRO; + + /* Make sure windows on this frame appear in calls to next-window + and similar functions. */ + Vwindow_list = Qnil; + return unbind_to (count, frame); } -- 2.39.5